Class groovyx.net.http.HttpGetSpec

42

tests

0

failures

0

ignored

27.751s

duration

100%

successful

Tests

Test Duration Result
[APACHE] GET (BASIC) /basic: returns content 0.230s passed
[APACHE] GET (DIGEST) /digest-auth 0.439s passed
[APACHE] GET /: returns content 0.136s passed
[APACHE] GET /date: returns content of specified type 0.127s passed
[APACHE] GET /foo (cookie): returns content 0.154s passed
[APACHE] GET /foo: returns content 0.297s passed
[APACHE] GET /foo?alpha=bravo: returns content 0.147s passed
[APACHE] GET /json: returns json 0.147s passed
[APACHE] GET /status(200): success/failure handler 0.270s passed
[APACHE] GET /status(200): verify when handler 18.560s passed
[APACHE] GET /status(200): with only failure handler 0.146s passed
[APACHE] GET /status(300): success/failure handler 0.133s passed
[APACHE] GET /status(300): verify when handler 2.288s passed
[APACHE] GET /status(300): with only failure handler 0.154s passed
[APACHE] GET /status(400): success/failure handler 0.126s passed
[APACHE] GET /status(400): verify when handler 0.530s passed
[APACHE] GET /status(400): with only failure handler 0.139s passed
[APACHE] GET /status(500): success/failure handler 0.117s passed
[APACHE] GET /status(500): verify when handler 0.163s passed
[APACHE] GET /status(500): with only failure handler 0.126s passed
[APACHE] GET /xml: returns xml 0.154s passed
[JAVA] GET (BASIC) /basic: returns content 0.104s passed
[JAVA] GET (DIGEST) /digest-auth 0.396s passed
[JAVA] GET /: returns content 0.081s passed
[JAVA] GET /date: returns content of specified type 0.118s passed
[JAVA] GET /foo (cookie): returns content 0.109s passed
[JAVA] GET /foo: returns content 0.113s passed
[JAVA] GET /foo?alpha=bravo: returns content 0.134s passed
[JAVA] GET /json: returns json 0.104s passed
[JAVA] GET /status(200): success/failure handler 0.089s passed
[JAVA] GET /status(200): verify when handler 0.352s passed
[JAVA] GET /status(200): with only failure handler 0.119s passed
[JAVA] GET /status(300): success/failure handler 0.100s passed
[JAVA] GET /status(300): verify when handler 0.158s passed
[JAVA] GET /status(300): with only failure handler 0.138s passed
[JAVA] GET /status(400): success/failure handler 0.126s passed
[JAVA] GET /status(400): verify when handler 0.198s passed
[JAVA] GET /status(400): with only failure handler 0.164s passed
[JAVA] GET /status(500): success/failure handler 0.126s passed
[JAVA] GET /status(500): verify when handler 0.182s passed
[JAVA] GET /status(500): with only failure handler 0.111s passed
[JAVA] GET /xml: returns xml 0.146s passed

Standard output

17:11:59.356 [Test worker] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
17:11:59.402 [Test worker] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
17:11:59.420 [Test worker] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
17:11:59.422 [Test worker] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
17:11:59.424 [Test worker] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true
17:11:59.427 [Test worker] DEBUG i.n.util.internal.PlatformDependent - Java version: 8
17:11:59.428 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
17:11:59.429 [Test worker] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: available
17:11:59.438 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noJavassist: false
17:11:59.441 [Test worker] DEBUG i.n.util.internal.PlatformDependent - Javassist: unavailable
17:11:59.442 [Test worker] DEBUG i.n.util.internal.PlatformDependent - You don't have Javassist in your class path or you don't have enough permission to load dynamically generated classes.  Please check the configuration for better performance.
17:11:59.443 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
17:11:59.444 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
17:11:59.445 [Test worker] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
17:12:01.726 [Test worker] DEBUG i.n.c.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16
17:12:02.024 [Test worker] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
17:12:02.045 [Test worker] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
17:12:02.253 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 16
17:12:02.254 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 16
17:12:02.255 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
17:12:02.257 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11
17:12:02.257 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216
17:12:02.258 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512
17:12:02.259 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
17:12:02.260 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
17:12:02.261 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
17:12:02.261 [Test worker] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
17:12:02.442 [MockServer thread for port: 32994] DEBUG i.n.util.internal.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0x76d04eec0cc010d6 (took 24 ms)
17:12:02.565 [MockServer thread for port: 32994] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled
17:12:02.569 [MockServer thread for port: 32994] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
17:12:02.569 [MockServer thread for port: 32994] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384
17:12:02.587 [MockServer thread for port: 32994] DEBUG io.netty.util.NetUtil - Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo)
17:12:02.589 [MockServer thread for port: 32994] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 128
17:12:02.653 [MockServer thread for port: 32994] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 32994
17:12:03.659 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:03.777 [Test worker] DEBUG o.m.c.ConfigurationProperties - Property file not found on classpath using path [mockserver.properties]
17:12:03.791 [Test worker] DEBUG o.m.c.ConfigurationProperties - Property file not found using path [mockserver.properties]
17:12:03.928 [nioEventLoopGroup-4-1] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.bytebuf.checkAccessible: true
17:12:03.963 [nioEventLoopGroup-4-1] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
17:12:03.964 [nioEventLoopGroup-4-1] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.maxRecords: 4
17:12:04.233 [nioEventLoopGroup-4-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacity.default: 262144
17:12:05.239 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36e15113, /127.0.0.1:43410 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:05.707 [nioEventLoopGroup-3-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:05.718 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36e15113, /127.0.0.1:43410 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:05.724 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36e15113, /127.0.0.1:43410 => /127.0.0.1:32994] FLUSH
17:12:05.729 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:05.731 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36e15113, /127.0.0.1:43410 => /127.0.0.1:32994] FLUSH
17:12:05.732 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36e15113, /127.0.0.1:43410 :> /127.0.0.1:32994] INACTIVE
17:12:05.733 [nioEventLoopGroup-3-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36e15113, /127.0.0.1:43410 :> /127.0.0.1:32994] UNREGISTERED
17:12:05.860 [nioEventLoopGroup-4-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-4-1
17:12:05.880 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:06.031 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33221de8, /127.0.0.1:43436 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:06.130 [nioEventLoopGroup-3-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:06.179 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33221de8, /127.0.0.1:43436 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:06.189 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33221de8, /127.0.0.1:43436 => /127.0.0.1:32994] FLUSH
17:12:06.204 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:06.204 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33221de8, /127.0.0.1:43436 => /127.0.0.1:32994] FLUSH
17:12:06.212 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33221de8, /127.0.0.1:43436 :> /127.0.0.1:32994] INACTIVE
17:12:06.213 [nioEventLoopGroup-3-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33221de8, /127.0.0.1:43436 :> /127.0.0.1:32994] UNREGISTERED
17:12:06.272 [nioEventLoopGroup-6-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-6-1
17:12:06.298 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:06.478 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6be1c1d, /127.0.0.1:43456 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:06.500 [nioEventLoopGroup-3-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:06.528 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6be1c1d, /127.0.0.1:43456 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:06.532 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6be1c1d, /127.0.0.1:43456 => /127.0.0.1:32994] FLUSH
17:12:06.537 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:06.540 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6be1c1d, /127.0.0.1:43456 => /127.0.0.1:32994] FLUSH
17:12:06.541 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6be1c1d, /127.0.0.1:43456 :> /127.0.0.1:32994] INACTIVE
17:12:06.542 [nioEventLoopGroup-3-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6be1c1d, /127.0.0.1:43456 :> /127.0.0.1:32994] UNREGISTERED
17:12:06.610 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:06.631 [nioEventLoopGroup-7-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-7-1
17:12:06.744 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e398079, /127.0.0.1:43470 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:06.763 [nioEventLoopGroup-3-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:06.764 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e398079, /127.0.0.1:43470 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:06.765 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e398079, /127.0.0.1:43470 => /127.0.0.1:32994] FLUSH
17:12:06.766 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:06.768 [nioEventLoopGroup-8-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-8-1
17:12:06.786 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e398079, /127.0.0.1:43470 => /127.0.0.1:32994] FLUSH
17:12:06.788 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e398079, /127.0.0.1:43470 :> /127.0.0.1:32994] INACTIVE
17:12:06.789 [nioEventLoopGroup-3-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e398079, /127.0.0.1:43470 :> /127.0.0.1:32994] UNREGISTERED
17:12:06.789 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:06.909 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e6670df, /127.0.0.1:43474 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:06.913 [nioEventLoopGroup-3-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:06.931 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e6670df, /127.0.0.1:43474 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:06.931 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e6670df, /127.0.0.1:43474 => /127.0.0.1:32994] FLUSH
17:12:06.935 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:06.954 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e6670df, /127.0.0.1:43474 => /127.0.0.1:32994] FLUSH
17:12:06.956 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e6670df, /127.0.0.1:43474 :> /127.0.0.1:32994] INACTIVE
17:12:06.956 [nioEventLoopGroup-3-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3e6670df, /127.0.0.1:43474 :> /127.0.0.1:32994] UNREGISTERED
17:12:07.062 [nioEventLoopGroup-9-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-9-1
17:12:07.100 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:07.248 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7de18b4c, /127.0.0.1:43482 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:07.293 [nioEventLoopGroup-3-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:07.294 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7de18b4c, /127.0.0.1:43482 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:07.295 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7de18b4c, /127.0.0.1:43482 => /127.0.0.1:32994] FLUSH
17:12:07.296 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:07.300 [nioEventLoopGroup-10-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-10-1
17:12:07.316 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7de18b4c, /127.0.0.1:43482 => /127.0.0.1:32994] FLUSH
17:12:07.377 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7de18b4c, /127.0.0.1:43482 :> /127.0.0.1:32994] INACTIVE
17:12:07.379 [nioEventLoopGroup-3-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7de18b4c, /127.0.0.1:43482 :> /127.0.0.1:32994] UNREGISTERED
17:12:07.400 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:07.480 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b771c7b, /127.0.0.1:43486 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:07.506 [nioEventLoopGroup-3-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:07.539 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b771c7b, /127.0.0.1:43486 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:07.541 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b771c7b, /127.0.0.1:43486 => /127.0.0.1:32994] FLUSH
17:12:07.543 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:07.544 [nioEventLoopGroup-11-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-11-1
17:12:07.545 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b771c7b, /127.0.0.1:43486 => /127.0.0.1:32994] FLUSH
17:12:07.546 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b771c7b, /127.0.0.1:43486 :> /127.0.0.1:32994] INACTIVE
17:12:07.547 [nioEventLoopGroup-3-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b771c7b, /127.0.0.1:43486 :> /127.0.0.1:32994] UNREGISTERED
17:12:07.804 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:07.913 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bb52686, /127.0.0.1:43492 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:07.928 [nioEventLoopGroup-3-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:07.942 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bb52686, /127.0.0.1:43492 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:07.950 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bb52686, /127.0.0.1:43492 => /127.0.0.1:32994] FLUSH
17:12:07.952 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:07.954 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bb52686, /127.0.0.1:43492 => /127.0.0.1:32994] FLUSH
17:12:07.955 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bb52686, /127.0.0.1:43492 :> /127.0.0.1:32994] INACTIVE
17:12:07.955 [nioEventLoopGroup-3-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bb52686, /127.0.0.1:43492 :> /127.0.0.1:32994] UNREGISTERED
17:12:08.075 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:08.093 [nioEventLoopGroup-12-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-12-1
17:12:08.170 [nioEventLoopGroup-3-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7de4505, /127.0.0.1:43502 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:08.173 [nioEventLoopGroup-3-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:08.194 [nioEventLoopGroup-3-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7de4505, /127.0.0.1:43502 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:08.198 [nioEventLoopGroup-3-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7de4505, /127.0.0.1:43502 => /127.0.0.1:32994] FLUSH
17:12:08.202 [nioEventLoopGroup-3-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7de4505, /127.0.0.1:43502 => /127.0.0.1:32994] FLUSH
17:12:08.203 [nioEventLoopGroup-3-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7de4505, /127.0.0.1:43502 :> /127.0.0.1:32994] INACTIVE
17:12:08.203 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:08.203 [nioEventLoopGroup-3-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7de4505, /127.0.0.1:43502 :> /127.0.0.1:32994] UNREGISTERED
17:12:08.271 [nioEventLoopGroup-13-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-13-1
17:12:08.350 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:08.418 [nioEventLoopGroup-3-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e4b64, /127.0.0.1:43506 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:08.451 [nioEventLoopGroup-3-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:08.455 [nioEventLoopGroup-3-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e4b64, /127.0.0.1:43506 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:08.460 [nioEventLoopGroup-3-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e4b64, /127.0.0.1:43506 => /127.0.0.1:32994] FLUSH
17:12:08.463 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:08.464 [nioEventLoopGroup-14-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-14-1
17:12:08.465 [nioEventLoopGroup-3-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e4b64, /127.0.0.1:43506 => /127.0.0.1:32994] FLUSH
17:12:08.465 [nioEventLoopGroup-3-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e4b64, /127.0.0.1:43506 :> /127.0.0.1:32994] INACTIVE
17:12:08.470 [nioEventLoopGroup-3-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x491e4b64, /127.0.0.1:43506 :> /127.0.0.1:32994] UNREGISTERED
17:12:08.580 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:08.623 [nioEventLoopGroup-3-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9dafb9d, /127.0.0.1:43510 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:08.670 [nioEventLoopGroup-3-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:08.690 [nioEventLoopGroup-3-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9dafb9d, /127.0.0.1:43510 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:08.696 [nioEventLoopGroup-3-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9dafb9d, /127.0.0.1:43510 => /127.0.0.1:32994] FLUSH
17:12:08.698 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:08.701 [nioEventLoopGroup-15-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-15-1
17:12:08.702 [nioEventLoopGroup-3-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9dafb9d, /127.0.0.1:43510 => /127.0.0.1:32994] FLUSH
17:12:08.703 [nioEventLoopGroup-3-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9dafb9d, /127.0.0.1:43510 :> /127.0.0.1:32994] INACTIVE
17:12:08.704 [nioEventLoopGroup-3-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9dafb9d, /127.0.0.1:43510 :> /127.0.0.1:32994] UNREGISTERED
17:12:08.919 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:08.973 [nioEventLoopGroup-3-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x625db66d, /127.0.0.1:43516 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:08.983 [nioEventLoopGroup-3-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:09.006 [nioEventLoopGroup-3-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x625db66d, /127.0.0.1:43516 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:09.007 [nioEventLoopGroup-3-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x625db66d, /127.0.0.1:43516 => /127.0.0.1:32994] FLUSH
17:12:09.009 [nioEventLoopGroup-3-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x625db66d, /127.0.0.1:43516 => /127.0.0.1:32994] FLUSH
17:12:09.009 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:09.018 [nioEventLoopGroup-3-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x625db66d, /127.0.0.1:43516 :> /127.0.0.1:32994] INACTIVE
17:12:09.018 [nioEventLoopGroup-16-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-16-1
17:12:09.125 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:09.128 [nioEventLoopGroup-3-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x625db66d, /127.0.0.1:43516 :> /127.0.0.1:32994] UNREGISTERED
17:12:09.210 [nioEventLoopGroup-3-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x329b5bbf, /127.0.0.1:43520 => /127.0.0.1:32994] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:09.238 [nioEventLoopGroup-3-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:09.245 [nioEventLoopGroup-3-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x329b5bbf, /127.0.0.1:43520 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:09.249 [nioEventLoopGroup-3-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x329b5bbf, /127.0.0.1:43520 => /127.0.0.1:32994] FLUSH
17:12:09.252 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:09.253 [nioEventLoopGroup-17-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-17-1
17:12:09.262 [nioEventLoopGroup-3-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x329b5bbf, /127.0.0.1:43520 => /127.0.0.1:32994] FLUSH
17:12:09.265 [nioEventLoopGroup-3-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x329b5bbf, /127.0.0.1:43520 :> /127.0.0.1:32994] INACTIVE
17:12:09.266 [nioEventLoopGroup-3-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x329b5bbf, /127.0.0.1:43520 :> /127.0.0.1:32994] UNREGISTERED
17:12:15.589 [nioEventLoopGroup-3-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a1f08e7, /127.0.0.1:43586 => /127.0.0.1:32994] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:32994
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:15.609 [nioEventLoopGroup-3-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:15.623 [nioEventLoopGroup-3-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:15.643 [nioEventLoopGroup-3-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:15.654 [nioEventLoopGroup-3-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:15.661 [nioEventLoopGroup-3-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:15.672 [nioEventLoopGroup-3-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:15.679 [nioEventLoopGroup-3-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:15.686 [nioEventLoopGroup-3-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:15.700 [nioEventLoopGroup-3-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:15.704 [nioEventLoopGroup-3-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a1f08e7, /127.0.0.1:43586 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:15.707 [nioEventLoopGroup-3-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a1f08e7, /127.0.0.1:43586 => /127.0.0.1:32994] FLUSH
17:12:16.787 [nioEventLoopGroup-3-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2cccbd9, /127.0.0.1:43604 => /127.0.0.1:32994] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:32994
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:16.805 [nioEventLoopGroup-3-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:16.814 [nioEventLoopGroup-3-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:16.821 [nioEventLoopGroup-3-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:16.858 [nioEventLoopGroup-3-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:16.869 [nioEventLoopGroup-3-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:16.874 [nioEventLoopGroup-3-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:16.880 [nioEventLoopGroup-3-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:16.884 [nioEventLoopGroup-3-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:16.893 [nioEventLoopGroup-3-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:32994" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:16.898 [nioEventLoopGroup-3-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2cccbd9, /127.0.0.1:43604 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:16.900 [nioEventLoopGroup-3-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2cccbd9, /127.0.0.1:43604 => /127.0.0.1:32994] FLUSH
17:12:16.987 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:17.044 [nioEventLoopGroup-3-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2a90d8b, /127.0.0.1:43614 => /127.0.0.1:32994] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:32994
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:17.050 [nioEventLoopGroup-3-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2a90d8b, /127.0.0.1:43614 => /127.0.0.1:32994] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:17.051 [nioEventLoopGroup-3-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2a90d8b, /127.0.0.1:43614 => /127.0.0.1:32994] FLUSH
17:12:17.053 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:17.053 [nioEventLoopGroup-3-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2a90d8b, /127.0.0.1:43614 => /127.0.0.1:32994] CLOSE()
17:12:17.265 [nioEventLoopGroup-18-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-18-1
17:12:17.290 [nioEventLoopGroup-3-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-1
17:12:17.290 [nioEventLoopGroup-3-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-5
17:12:17.290 [nioEventLoopGroup-3-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-4
17:12:17.290 [nioEventLoopGroup-3-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-8
17:12:17.290 [nioEventLoopGroup-3-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-2
17:12:17.291 [nioEventLoopGroup-3-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-3
17:12:17.291 [nioEventLoopGroup-3-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a1f08e7, /127.0.0.1:43586 :> /127.0.0.1:32994] INACTIVE
17:12:17.291 [nioEventLoopGroup-3-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2cccbd9, /127.0.0.1:43604 :> /127.0.0.1:32994] INACTIVE
17:12:17.292 [nioEventLoopGroup-3-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-12
17:12:17.292 [nioEventLoopGroup-3-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-11
17:12:17.293 [nioEventLoopGroup-3-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-6
17:12:17.293 [nioEventLoopGroup-3-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-9
17:12:17.309 [nioEventLoopGroup-3-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-7
17:12:17.309 [nioEventLoopGroup-3-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-10
17:12:17.309 [nioEventLoopGroup-3-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-13
17:12:17.310 [nioEventLoopGroup-3-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a1f08e7, /127.0.0.1:43586 :> /127.0.0.1:32994] UNREGISTERED
17:12:17.311 [nioEventLoopGroup-3-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2cccbd9, /127.0.0.1:43604 :> /127.0.0.1:32994] UNREGISTERED
17:12:17.566 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:17.568 [MockServer thread for port: 43288] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 43288
17:12:17.620 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9fdeb81, /127.0.0.1:45324 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:17.634 [nioEventLoopGroup-20-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:17.638 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9fdeb81, /127.0.0.1:45324 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:17.642 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9fdeb81, /127.0.0.1:45324 => /127.0.0.1:43288] FLUSH
17:12:17.644 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:17.648 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9fdeb81, /127.0.0.1:45324 => /127.0.0.1:43288] FLUSH
17:12:17.649 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9fdeb81, /127.0.0.1:45324 :> /127.0.0.1:43288] INACTIVE
17:12:17.649 [nioEventLoopGroup-20-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9fdeb81, /127.0.0.1:45324 :> /127.0.0.1:43288] UNREGISTERED
17:12:17.747 [nioEventLoopGroup-21-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-21-1
17:12:17.752 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:17.792 [nioEventLoopGroup-3-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2a90d8b, /127.0.0.1:43614 :> /127.0.0.1:32994] FLUSH
17:12:17.792 [nioEventLoopGroup-3-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2a90d8b, /127.0.0.1:43614 :> /127.0.0.1:32994] INACTIVE
17:12:17.792 [nioEventLoopGroup-3-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2a90d8b, /127.0.0.1:43614 :> /127.0.0.1:32994] UNREGISTERED
17:12:17.793 [nioEventLoopGroup-3-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-16
17:12:17.797 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44fd3d16, /127.0.0.1:45330 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:17.830 [nioEventLoopGroup-20-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:17.833 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44fd3d16, /127.0.0.1:45330 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:17.835 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44fd3d16, /127.0.0.1:45330 => /127.0.0.1:43288] FLUSH
17:12:17.838 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44fd3d16, /127.0.0.1:45330 => /127.0.0.1:43288] FLUSH
17:12:17.838 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44fd3d16, /127.0.0.1:45330 :> /127.0.0.1:43288] INACTIVE
17:12:17.838 [nioEventLoopGroup-20-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44fd3d16, /127.0.0.1:45330 :> /127.0.0.1:43288] UNREGISTERED
17:12:17.838 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:17.841 [nioEventLoopGroup-22-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-22-1
17:12:17.980 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:18.082 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92164682, /127.0.0.1:45334 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:18.123 [nioEventLoopGroup-20-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:18.126 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92164682, /127.0.0.1:45334 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:18.137 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92164682, /127.0.0.1:45334 => /127.0.0.1:43288] FLUSH
17:12:18.139 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:18.140 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92164682, /127.0.0.1:45334 => /127.0.0.1:43288] FLUSH
17:12:18.140 [nioEventLoopGroup-23-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-23-1
17:12:18.141 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92164682, /127.0.0.1:45334 :> /127.0.0.1:43288] INACTIVE
17:12:18.144 [nioEventLoopGroup-20-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92164682, /127.0.0.1:45334 :> /127.0.0.1:43288] UNREGISTERED
17:12:18.201 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:18.249 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc89332ca, /127.0.0.1:45340 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:18.254 [nioEventLoopGroup-20-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:18.255 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc89332ca, /127.0.0.1:45340 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:18.256 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc89332ca, /127.0.0.1:45340 => /127.0.0.1:43288] FLUSH
17:12:18.262 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:18.263 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc89332ca, /127.0.0.1:45340 => /127.0.0.1:43288] FLUSH
17:12:18.264 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc89332ca, /127.0.0.1:45340 :> /127.0.0.1:43288] INACTIVE
17:12:18.264 [nioEventLoopGroup-20-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc89332ca, /127.0.0.1:45340 :> /127.0.0.1:43288] UNREGISTERED
17:12:18.294 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:18.297 [nioEventLoopGroup-24-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-24-1
17:12:18.318 [nioEventLoopGroup-3-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-14
17:12:18.318 [nioEventLoopGroup-3-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-3-15
17:12:18.326 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62c78738, /127.0.0.1:45344 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:18.337 [nioEventLoopGroup-20-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:18.344 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62c78738, /127.0.0.1:45344 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:18.347 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62c78738, /127.0.0.1:45344 => /127.0.0.1:43288] FLUSH
17:12:18.361 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:18.363 [nioEventLoopGroup-25-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-25-1
17:12:18.365 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62c78738, /127.0.0.1:45344 => /127.0.0.1:43288] FLUSH
17:12:18.370 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62c78738, /127.0.0.1:45344 :> /127.0.0.1:43288] INACTIVE
17:12:18.370 [nioEventLoopGroup-20-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62c78738, /127.0.0.1:45344 :> /127.0.0.1:43288] UNREGISTERED
17:12:18.475 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:18.500 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17b2eff7, /127.0.0.1:45350 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:18.527 [nioEventLoopGroup-20-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:18.540 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17b2eff7, /127.0.0.1:45350 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:18.541 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17b2eff7, /127.0.0.1:45350 => /127.0.0.1:43288] FLUSH
17:12:18.543 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:18.544 [nioEventLoopGroup-26-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-26-1
17:12:18.545 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17b2eff7, /127.0.0.1:45350 => /127.0.0.1:43288] FLUSH
17:12:18.546 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17b2eff7, /127.0.0.1:45350 :> /127.0.0.1:43288] INACTIVE
17:12:18.547 [nioEventLoopGroup-20-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x17b2eff7, /127.0.0.1:45350 :> /127.0.0.1:43288] UNREGISTERED
17:12:18.682 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:18.698 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa61183dc, /127.0.0.1:45358 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:18.701 [nioEventLoopGroup-20-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:18.702 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa61183dc, /127.0.0.1:45358 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:18.702 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa61183dc, /127.0.0.1:45358 => /127.0.0.1:43288] FLUSH
17:12:18.703 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:18.704 [nioEventLoopGroup-27-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-27-1
17:12:18.722 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa61183dc, /127.0.0.1:45358 => /127.0.0.1:43288] FLUSH
17:12:18.723 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa61183dc, /127.0.0.1:45358 :> /127.0.0.1:43288] INACTIVE
17:12:18.723 [nioEventLoopGroup-20-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa61183dc, /127.0.0.1:45358 :> /127.0.0.1:43288] UNREGISTERED
17:12:18.781 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:18.800 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ad904ff, /127.0.0.1:45360 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:18.805 [nioEventLoopGroup-20-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:18.807 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ad904ff, /127.0.0.1:45360 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:18.808 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ad904ff, /127.0.0.1:45360 => /127.0.0.1:43288] FLUSH
17:12:18.810 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:18.811 [nioEventLoopGroup-28-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-28-1
17:12:18.812 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ad904ff, /127.0.0.1:45360 => /127.0.0.1:43288] FLUSH
17:12:18.812 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ad904ff, /127.0.0.1:45360 :> /127.0.0.1:43288] INACTIVE
17:12:18.813 [nioEventLoopGroup-20-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8ad904ff, /127.0.0.1:45360 :> /127.0.0.1:43288] UNREGISTERED
17:12:18.816 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:18.844 [nioEventLoopGroup-20-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x632acd57, /127.0.0.1:45364 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:18.848 [nioEventLoopGroup-20-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:18.851 [nioEventLoopGroup-20-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x632acd57, /127.0.0.1:45364 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:18.852 [nioEventLoopGroup-20-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x632acd57, /127.0.0.1:45364 => /127.0.0.1:43288] FLUSH
17:12:18.879 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:18.883 [nioEventLoopGroup-29-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-29-1
17:12:18.883 [nioEventLoopGroup-20-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x632acd57, /127.0.0.1:45364 => /127.0.0.1:43288] FLUSH
17:12:18.884 [nioEventLoopGroup-20-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x632acd57, /127.0.0.1:45364 :> /127.0.0.1:43288] INACTIVE
17:12:18.884 [nioEventLoopGroup-20-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x632acd57, /127.0.0.1:45364 :> /127.0.0.1:43288] UNREGISTERED
17:12:18.887 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:18.931 [nioEventLoopGroup-20-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb78177, /127.0.0.1:45368 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:18.950 [nioEventLoopGroup-20-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:18.953 [nioEventLoopGroup-20-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb78177, /127.0.0.1:45368 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:18.954 [nioEventLoopGroup-20-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb78177, /127.0.0.1:45368 => /127.0.0.1:43288] FLUSH
17:12:18.955 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:18.956 [nioEventLoopGroup-30-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-30-1
17:12:18.957 [nioEventLoopGroup-20-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb78177, /127.0.0.1:45368 => /127.0.0.1:43288] FLUSH
17:12:18.966 [nioEventLoopGroup-20-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb78177, /127.0.0.1:45368 :> /127.0.0.1:43288] INACTIVE
17:12:18.966 [nioEventLoopGroup-20-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb78177, /127.0.0.1:45368 :> /127.0.0.1:43288] UNREGISTERED
17:12:19.042 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:19.068 [nioEventLoopGroup-20-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac6b2119, /127.0.0.1:45372 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:19.070 [nioEventLoopGroup-20-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:19.114 [nioEventLoopGroup-20-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac6b2119, /127.0.0.1:45372 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:19.116 [nioEventLoopGroup-20-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac6b2119, /127.0.0.1:45372 => /127.0.0.1:43288] FLUSH
17:12:19.118 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:19.119 [nioEventLoopGroup-20-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac6b2119, /127.0.0.1:45372 => /127.0.0.1:43288] FLUSH
17:12:19.119 [nioEventLoopGroup-20-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac6b2119, /127.0.0.1:45372 :> /127.0.0.1:43288] INACTIVE
17:12:19.119 [nioEventLoopGroup-20-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac6b2119, /127.0.0.1:45372 :> /127.0.0.1:43288] UNREGISTERED
17:12:19.127 [nioEventLoopGroup-31-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-31-1
17:12:19.155 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:19.175 [nioEventLoopGroup-20-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc750ec1d, /127.0.0.1:45378 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:19.198 [nioEventLoopGroup-20-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:19.201 [nioEventLoopGroup-20-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc750ec1d, /127.0.0.1:45378 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:19.203 [nioEventLoopGroup-20-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc750ec1d, /127.0.0.1:45378 => /127.0.0.1:43288] FLUSH
17:12:19.205 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:19.206 [nioEventLoopGroup-20-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc750ec1d, /127.0.0.1:45378 => /127.0.0.1:43288] FLUSH
17:12:19.207 [nioEventLoopGroup-20-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc750ec1d, /127.0.0.1:45378 :> /127.0.0.1:43288] INACTIVE
17:12:19.207 [nioEventLoopGroup-20-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc750ec1d, /127.0.0.1:45378 :> /127.0.0.1:43288] UNREGISTERED
17:12:19.221 [nioEventLoopGroup-32-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-32-1
17:12:19.358 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:19.396 [nioEventLoopGroup-20-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf88aa429, /127.0.0.1:45382 => /127.0.0.1:43288] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:19.422 [nioEventLoopGroup-20-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:19.452 [nioEventLoopGroup-20-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf88aa429, /127.0.0.1:45382 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:19.453 [nioEventLoopGroup-20-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf88aa429, /127.0.0.1:45382 => /127.0.0.1:43288] FLUSH
17:12:19.454 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:19.454 [nioEventLoopGroup-33-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-33-1
17:12:19.456 [nioEventLoopGroup-20-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf88aa429, /127.0.0.1:45382 => /127.0.0.1:43288] FLUSH
17:12:19.456 [nioEventLoopGroup-20-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf88aa429, /127.0.0.1:45382 :> /127.0.0.1:43288] INACTIVE
17:12:19.457 [nioEventLoopGroup-20-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf88aa429, /127.0.0.1:45382 :> /127.0.0.1:43288] UNREGISTERED
17:12:19.563 [nioEventLoopGroup-20-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb64609, /127.0.0.1:45386 => /127.0.0.1:43288] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:43288
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:19.565 [nioEventLoopGroup-20-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.567 [nioEventLoopGroup-20-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.568 [nioEventLoopGroup-20-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:19.570 [nioEventLoopGroup-20-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.594 [nioEventLoopGroup-20-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.596 [nioEventLoopGroup-20-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.602 [nioEventLoopGroup-20-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.610 [nioEventLoopGroup-20-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.613 [nioEventLoopGroup-20-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:19.616 [nioEventLoopGroup-20-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:19.617 [nioEventLoopGroup-20-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb64609, /127.0.0.1:45386 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:19.618 [nioEventLoopGroup-20-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb64609, /127.0.0.1:45386 => /127.0.0.1:43288] FLUSH
17:12:19.642 [nioEventLoopGroup-20-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa313b7c, /127.0.0.1:45390 => /127.0.0.1:43288] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:43288
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:19.644 [nioEventLoopGroup-20-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.648 [nioEventLoopGroup-20-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.650 [nioEventLoopGroup-20-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:19.654 [nioEventLoopGroup-20-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.657 [nioEventLoopGroup-20-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.660 [nioEventLoopGroup-20-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.662 [nioEventLoopGroup-20-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.667 [nioEventLoopGroup-20-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:19.670 [nioEventLoopGroup-20-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:19.673 [nioEventLoopGroup-20-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43288" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:19.674 [nioEventLoopGroup-20-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa313b7c, /127.0.0.1:45390 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:19.675 [nioEventLoopGroup-20-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa313b7c, /127.0.0.1:45390 => /127.0.0.1:43288] FLUSH
17:12:19.676 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:19.685 [nioEventLoopGroup-20-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73c58d21, /127.0.0.1:45396 => /127.0.0.1:43288] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:43288
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:19.702 [nioEventLoopGroup-20-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73c58d21, /127.0.0.1:45396 => /127.0.0.1:43288] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:19.702 [nioEventLoopGroup-20-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73c58d21, /127.0.0.1:45396 => /127.0.0.1:43288] FLUSH
17:12:19.703 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:19.704 [nioEventLoopGroup-34-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-34-1
17:12:19.706 [nioEventLoopGroup-20-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73c58d21, /127.0.0.1:45396 => /127.0.0.1:43288] CLOSE()
17:12:19.819 [nioEventLoopGroup-20-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-7
17:12:19.819 [nioEventLoopGroup-20-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-2
17:12:19.819 [nioEventLoopGroup-20-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-10
17:12:19.819 [nioEventLoopGroup-20-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-4
17:12:19.819 [nioEventLoopGroup-20-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-3
17:12:19.820 [nioEventLoopGroup-20-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb64609, /127.0.0.1:45386 :> /127.0.0.1:43288] INACTIVE
17:12:19.820 [nioEventLoopGroup-20-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-5
17:12:19.820 [nioEventLoopGroup-20-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-12
17:12:19.820 [nioEventLoopGroup-20-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-6
17:12:19.820 [nioEventLoopGroup-20-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-13
17:12:19.820 [nioEventLoopGroup-20-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa313b7c, /127.0.0.1:45390 :> /127.0.0.1:43288] INACTIVE
17:12:19.829 [nioEventLoopGroup-20-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-1
17:12:19.829 [nioEventLoopGroup-20-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-9
17:12:19.829 [nioEventLoopGroup-20-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-8
17:12:19.830 [nioEventLoopGroup-20-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb64609, /127.0.0.1:45386 :> /127.0.0.1:43288] UNREGISTERED
17:12:19.831 [nioEventLoopGroup-20-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa313b7c, /127.0.0.1:45390 :> /127.0.0.1:43288] UNREGISTERED
17:12:19.833 [nioEventLoopGroup-20-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-11
17:12:20.179 [MockServer thread for port: 40870] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 40870
17:12:20.180 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.196 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbfc88ee, /127.0.0.1:47302 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:20.198 [nioEventLoopGroup-36-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:20.198 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbfc88ee, /127.0.0.1:47302 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.198 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbfc88ee, /127.0.0.1:47302 => /127.0.0.1:40870] FLUSH
17:12:20.199 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.200 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbfc88ee, /127.0.0.1:47302 => /127.0.0.1:40870] FLUSH
17:12:20.201 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbfc88ee, /127.0.0.1:47302 :> /127.0.0.1:40870] INACTIVE
17:12:20.201 [nioEventLoopGroup-36-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbbfc88ee, /127.0.0.1:47302 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.204 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.209 [nioEventLoopGroup-37-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-37-1
17:12:20.212 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23582fa7, /127.0.0.1:47304 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:20.214 [nioEventLoopGroup-36-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:20.222 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23582fa7, /127.0.0.1:47304 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.225 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23582fa7, /127.0.0.1:47304 => /127.0.0.1:40870] FLUSH
17:12:20.226 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.227 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23582fa7, /127.0.0.1:47304 => /127.0.0.1:40870] FLUSH
17:12:20.228 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23582fa7, /127.0.0.1:47304 :> /127.0.0.1:40870] INACTIVE
17:12:20.228 [nioEventLoopGroup-36-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23582fa7, /127.0.0.1:47304 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.236 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.236 [nioEventLoopGroup-38-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-38-1
17:12:20.253 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b6af551, /127.0.0.1:47310 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:20.258 [nioEventLoopGroup-36-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:20.260 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b6af551, /127.0.0.1:47310 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.261 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b6af551, /127.0.0.1:47310 => /127.0.0.1:40870] FLUSH
17:12:20.262 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.262 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b6af551, /127.0.0.1:47310 => /127.0.0.1:40870] FLUSH
17:12:20.263 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b6af551, /127.0.0.1:47310 :> /127.0.0.1:40870] INACTIVE
17:12:20.263 [nioEventLoopGroup-36-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b6af551, /127.0.0.1:47310 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.263 [nioEventLoopGroup-39-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-39-1
17:12:20.293 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.303 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748a2e5b, /127.0.0.1:47314 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:20.312 [nioEventLoopGroup-36-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:20.317 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748a2e5b, /127.0.0.1:47314 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.318 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748a2e5b, /127.0.0.1:47314 => /127.0.0.1:40870] FLUSH
17:12:20.318 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.319 [nioEventLoopGroup-20-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73c58d21, /127.0.0.1:45396 :> /127.0.0.1:43288] FLUSH
17:12:20.319 [nioEventLoopGroup-40-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-40-1
17:12:20.322 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748a2e5b, /127.0.0.1:47314 => /127.0.0.1:40870] FLUSH
17:12:20.397 [nioEventLoopGroup-20-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73c58d21, /127.0.0.1:45396 :> /127.0.0.1:43288] INACTIVE
17:12:20.398 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.399 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748a2e5b, /127.0.0.1:47314 :> /127.0.0.1:40870] INACTIVE
17:12:20.399 [nioEventLoopGroup-20-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73c58d21, /127.0.0.1:45396 :> /127.0.0.1:43288] UNREGISTERED
17:12:20.402 [nioEventLoopGroup-36-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x748a2e5b, /127.0.0.1:47314 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.402 [nioEventLoopGroup-20-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-16
17:12:20.408 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64257042, /127.0.0.1:47320 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:20.413 [nioEventLoopGroup-36-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:20.415 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64257042, /127.0.0.1:47320 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.416 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64257042, /127.0.0.1:47320 => /127.0.0.1:40870] FLUSH
17:12:20.417 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.418 [nioEventLoopGroup-41-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-41-1
17:12:20.419 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64257042, /127.0.0.1:47320 => /127.0.0.1:40870] FLUSH
17:12:20.420 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64257042, /127.0.0.1:47320 :> /127.0.0.1:40870] INACTIVE
17:12:20.420 [nioEventLoopGroup-36-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64257042, /127.0.0.1:47320 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.424 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.431 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb95b28b3, /127.0.0.1:47324 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:20.433 [nioEventLoopGroup-36-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:20.435 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb95b28b3, /127.0.0.1:47324 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.435 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb95b28b3, /127.0.0.1:47324 => /127.0.0.1:40870] FLUSH
17:12:20.436 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb95b28b3, /127.0.0.1:47324 => /127.0.0.1:40870] FLUSH
17:12:20.435 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.436 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb95b28b3, /127.0.0.1:47324 :> /127.0.0.1:40870] INACTIVE
17:12:20.436 [nioEventLoopGroup-36-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb95b28b3, /127.0.0.1:47324 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.436 [nioEventLoopGroup-42-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-42-1
17:12:20.437 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.444 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x859dc626, /127.0.0.1:47326 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:20.446 [nioEventLoopGroup-36-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:20.447 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x859dc626, /127.0.0.1:47326 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.447 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x859dc626, /127.0.0.1:47326 => /127.0.0.1:40870] FLUSH
17:12:20.447 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.448 [nioEventLoopGroup-43-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-43-1
17:12:20.450 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.452 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x859dc626, /127.0.0.1:47326 => /127.0.0.1:40870] FLUSH
17:12:20.452 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x859dc626, /127.0.0.1:47326 :> /127.0.0.1:40870] INACTIVE
17:12:20.452 [nioEventLoopGroup-36-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x859dc626, /127.0.0.1:47326 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.455 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28b36ebc, /127.0.0.1:47328 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:20.456 [nioEventLoopGroup-36-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:20.456 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28b36ebc, /127.0.0.1:47328 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.456 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28b36ebc, /127.0.0.1:47328 => /127.0.0.1:40870] FLUSH
17:12:20.457 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28b36ebc, /127.0.0.1:47328 => /127.0.0.1:40870] FLUSH
17:12:20.457 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.457 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28b36ebc, /127.0.0.1:47328 :> /127.0.0.1:40870] INACTIVE
17:12:20.457 [nioEventLoopGroup-36-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28b36ebc, /127.0.0.1:47328 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.457 [nioEventLoopGroup-44-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-44-1
17:12:20.458 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.464 [nioEventLoopGroup-36-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7448c36d, /127.0.0.1:47330 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:20.465 [nioEventLoopGroup-36-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:20.466 [nioEventLoopGroup-36-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7448c36d, /127.0.0.1:47330 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.466 [nioEventLoopGroup-36-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7448c36d, /127.0.0.1:47330 => /127.0.0.1:40870] FLUSH
17:12:20.471 [nioEventLoopGroup-36-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7448c36d, /127.0.0.1:47330 => /127.0.0.1:40870] FLUSH
17:12:20.477 [nioEventLoopGroup-36-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7448c36d, /127.0.0.1:47330 :> /127.0.0.1:40870] INACTIVE
17:12:20.477 [nioEventLoopGroup-36-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7448c36d, /127.0.0.1:47330 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.471 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.479 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.483 [nioEventLoopGroup-45-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-45-1
17:12:20.505 [nioEventLoopGroup-36-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xea2eb0cc, /127.0.0.1:47332 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:20.508 [nioEventLoopGroup-36-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:20.512 [nioEventLoopGroup-36-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xea2eb0cc, /127.0.0.1:47332 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.513 [nioEventLoopGroup-36-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xea2eb0cc, /127.0.0.1:47332 => /127.0.0.1:40870] FLUSH
17:12:20.514 [nioEventLoopGroup-36-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xea2eb0cc, /127.0.0.1:47332 => /127.0.0.1:40870] FLUSH
17:12:20.514 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.515 [nioEventLoopGroup-36-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xea2eb0cc, /127.0.0.1:47332 :> /127.0.0.1:40870] INACTIVE
17:12:20.515 [nioEventLoopGroup-46-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-46-1
17:12:20.519 [nioEventLoopGroup-36-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xea2eb0cc, /127.0.0.1:47332 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.520 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.530 [nioEventLoopGroup-36-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7528a3e4, /127.0.0.1:47334 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:20.533 [nioEventLoopGroup-36-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:20.536 [nioEventLoopGroup-36-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7528a3e4, /127.0.0.1:47334 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.536 [nioEventLoopGroup-36-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7528a3e4, /127.0.0.1:47334 => /127.0.0.1:40870] FLUSH
17:12:20.537 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.538 [nioEventLoopGroup-47-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-47-1
17:12:20.541 [nioEventLoopGroup-36-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7528a3e4, /127.0.0.1:47334 => /127.0.0.1:40870] FLUSH
17:12:20.542 [nioEventLoopGroup-36-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7528a3e4, /127.0.0.1:47334 :> /127.0.0.1:40870] INACTIVE
17:12:20.542 [nioEventLoopGroup-36-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7528a3e4, /127.0.0.1:47334 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.549 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.557 [nioEventLoopGroup-36-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9bcf0fb, /127.0.0.1:47336 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:20.563 [nioEventLoopGroup-36-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:20.567 [nioEventLoopGroup-36-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9bcf0fb, /127.0.0.1:47336 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.568 [nioEventLoopGroup-36-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9bcf0fb, /127.0.0.1:47336 => /127.0.0.1:40870] FLUSH
17:12:20.569 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.569 [nioEventLoopGroup-48-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-48-1
17:12:20.570 [nioEventLoopGroup-36-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9bcf0fb, /127.0.0.1:47336 => /127.0.0.1:40870] FLUSH
17:12:20.571 [nioEventLoopGroup-36-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9bcf0fb, /127.0.0.1:47336 :> /127.0.0.1:40870] INACTIVE
17:12:20.571 [nioEventLoopGroup-36-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9bcf0fb, /127.0.0.1:47336 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.591 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:20.606 [nioEventLoopGroup-36-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fbea347, /127.0.0.1:47338 => /127.0.0.1:40870] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:20.610 [nioEventLoopGroup-36-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:20.610 [nioEventLoopGroup-36-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fbea347, /127.0.0.1:47338 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.611 [nioEventLoopGroup-36-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fbea347, /127.0.0.1:47338 => /127.0.0.1:40870] FLUSH
17:12:20.612 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.613 [nioEventLoopGroup-49-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-49-1
17:12:20.614 [nioEventLoopGroup-36-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fbea347, /127.0.0.1:47338 => /127.0.0.1:40870] FLUSH
17:12:20.614 [nioEventLoopGroup-36-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fbea347, /127.0.0.1:47338 :> /127.0.0.1:40870] INACTIVE
17:12:20.614 [nioEventLoopGroup-36-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4fbea347, /127.0.0.1:47338 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.627 [nioEventLoopGroup-36-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6adc97d1, /127.0.0.1:47340 => /127.0.0.1:40870] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:40870
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:20.631 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.635 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.639 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:20.642 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.643 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.643 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.644 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.644 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.645 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.645 [nioEventLoopGroup-36-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:20.646 [nioEventLoopGroup-36-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:20.646 [nioEventLoopGroup-36-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6adc97d1, /127.0.0.1:47340 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:20.646 [nioEventLoopGroup-36-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6adc97d1, /127.0.0.1:47340 => /127.0.0.1:40870] FLUSH
17:12:20.654 [nioEventLoopGroup-36-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x792c831a, /127.0.0.1:47342 => /127.0.0.1:40870] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:40870
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:20.656 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.658 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.659 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:20.660 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.661 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.661 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.662 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.663 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.674 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:20.676 [nioEventLoopGroup-36-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:20.678 [nioEventLoopGroup-36-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40870" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:20.681 [nioEventLoopGroup-36-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x792c831a, /127.0.0.1:47342 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:20.681 [nioEventLoopGroup-36-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x792c831a, /127.0.0.1:47342 => /127.0.0.1:40870] FLUSH
17:12:20.682 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:20.688 [nioEventLoopGroup-36-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa814a040, /127.0.0.1:47348 => /127.0.0.1:40870] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:40870
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:20.688 [nioEventLoopGroup-36-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa814a040, /127.0.0.1:47348 => /127.0.0.1:40870] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:20.688 [nioEventLoopGroup-36-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa814a040, /127.0.0.1:47348 => /127.0.0.1:40870] FLUSH
17:12:20.689 [nioEventLoopGroup-36-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa814a040, /127.0.0.1:47348 => /127.0.0.1:40870] CLOSE()
17:12:20.689 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:20.689 [nioEventLoopGroup-50-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-50-1
17:12:20.697 [nioEventLoopGroup-36-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-10
17:12:20.697 [nioEventLoopGroup-36-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-5
17:12:20.697 [nioEventLoopGroup-36-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-8
17:12:20.697 [nioEventLoopGroup-36-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-4
17:12:20.697 [nioEventLoopGroup-36-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-12
17:12:20.697 [nioEventLoopGroup-36-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-7
17:12:20.697 [nioEventLoopGroup-36-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-6
17:12:20.697 [nioEventLoopGroup-36-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x792c831a, /127.0.0.1:47342 :> /127.0.0.1:40870] INACTIVE
17:12:20.697 [nioEventLoopGroup-36-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-13
17:12:20.697 [nioEventLoopGroup-36-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-11
17:12:20.697 [nioEventLoopGroup-36-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6adc97d1, /127.0.0.1:47340 :> /127.0.0.1:40870] INACTIVE
17:12:20.697 [nioEventLoopGroup-36-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-3
17:12:20.697 [nioEventLoopGroup-36-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-9
17:12:20.702 [nioEventLoopGroup-36-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x792c831a, /127.0.0.1:47342 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.702 [nioEventLoopGroup-36-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6adc97d1, /127.0.0.1:47340 :> /127.0.0.1:40870] UNREGISTERED
17:12:20.705 [nioEventLoopGroup-36-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-1
17:12:20.706 [nioEventLoopGroup-36-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-2
17:12:20.833 [nioEventLoopGroup-20-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-14
17:12:20.835 [nioEventLoopGroup-20-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-20-15
17:12:21.051 [MockServer thread for port: 37308] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 37308
17:12:21.052 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.055 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60becfc7, /127.0.0.1:45100 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:21.056 [nioEventLoopGroup-52-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:21.056 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60becfc7, /127.0.0.1:45100 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.056 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60becfc7, /127.0.0.1:45100 => /127.0.0.1:37308] FLUSH
17:12:21.057 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.057 [nioEventLoopGroup-53-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-53-1
17:12:21.057 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60becfc7, /127.0.0.1:45100 => /127.0.0.1:37308] FLUSH
17:12:21.058 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60becfc7, /127.0.0.1:45100 :> /127.0.0.1:37308] INACTIVE
17:12:21.058 [nioEventLoopGroup-52-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60becfc7, /127.0.0.1:45100 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.062 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.068 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc97e50e9, /127.0.0.1:45102 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:21.070 [nioEventLoopGroup-52-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:21.070 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc97e50e9, /127.0.0.1:45102 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.073 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc97e50e9, /127.0.0.1:45102 => /127.0.0.1:37308] FLUSH
17:12:21.074 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc97e50e9, /127.0.0.1:45102 => /127.0.0.1:37308] FLUSH
17:12:21.074 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.074 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc97e50e9, /127.0.0.1:45102 :> /127.0.0.1:37308] INACTIVE
17:12:21.074 [nioEventLoopGroup-52-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc97e50e9, /127.0.0.1:45102 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.074 [nioEventLoopGroup-54-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-54-1
17:12:21.075 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.082 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd09741cf, /127.0.0.1:45104 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:21.084 [nioEventLoopGroup-52-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:21.085 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd09741cf, /127.0.0.1:45104 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.085 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd09741cf, /127.0.0.1:45104 => /127.0.0.1:37308] FLUSH
17:12:21.086 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.086 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd09741cf, /127.0.0.1:45104 => /127.0.0.1:37308] FLUSH
17:12:21.086 [nioEventLoopGroup-55-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-55-1
17:12:21.088 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd09741cf, /127.0.0.1:45104 :> /127.0.0.1:37308] INACTIVE
17:12:21.088 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.089 [nioEventLoopGroup-52-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd09741cf, /127.0.0.1:45104 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.093 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3de185e2, /127.0.0.1:45106 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.094 [nioEventLoopGroup-52-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:21.095 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3de185e2, /127.0.0.1:45106 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.095 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3de185e2, /127.0.0.1:45106 => /127.0.0.1:37308] FLUSH
17:12:21.096 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.096 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3de185e2, /127.0.0.1:45106 => /127.0.0.1:37308] FLUSH
17:12:21.096 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3de185e2, /127.0.0.1:45106 :> /127.0.0.1:37308] INACTIVE
17:12:21.096 [nioEventLoopGroup-52-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3de185e2, /127.0.0.1:45106 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.097 [nioEventLoopGroup-56-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-56-1
17:12:21.098 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.102 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf1e7282, /127.0.0.1:45108 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:21.105 [nioEventLoopGroup-52-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:21.107 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf1e7282, /127.0.0.1:45108 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.107 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf1e7282, /127.0.0.1:45108 => /127.0.0.1:37308] FLUSH
17:12:21.107 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.108 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf1e7282, /127.0.0.1:45108 => /127.0.0.1:37308] FLUSH
17:12:21.108 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf1e7282, /127.0.0.1:45108 :> /127.0.0.1:37308] INACTIVE
17:12:21.108 [nioEventLoopGroup-52-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf1e7282, /127.0.0.1:45108 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.108 [nioEventLoopGroup-57-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-57-1
17:12:21.110 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.115 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa454371e, /127.0.0.1:45110 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:21.117 [nioEventLoopGroup-52-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:21.117 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa454371e, /127.0.0.1:45110 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.117 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa454371e, /127.0.0.1:45110 => /127.0.0.1:37308] FLUSH
17:12:21.118 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.118 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa454371e, /127.0.0.1:45110 => /127.0.0.1:37308] FLUSH
17:12:21.118 [nioEventLoopGroup-58-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-58-1
17:12:21.119 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa454371e, /127.0.0.1:45110 :> /127.0.0.1:37308] INACTIVE
17:12:21.119 [nioEventLoopGroup-52-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa454371e, /127.0.0.1:45110 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.119 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.123 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1788ff7, /127.0.0.1:45112 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:21.125 [nioEventLoopGroup-52-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:21.125 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1788ff7, /127.0.0.1:45112 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.126 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1788ff7, /127.0.0.1:45112 => /127.0.0.1:37308] FLUSH
17:12:21.127 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1788ff7, /127.0.0.1:45112 => /127.0.0.1:37308] FLUSH
17:12:21.127 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.127 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1788ff7, /127.0.0.1:45112 :> /127.0.0.1:37308] INACTIVE
17:12:21.127 [nioEventLoopGroup-52-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1788ff7, /127.0.0.1:45112 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.127 [nioEventLoopGroup-59-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-59-1
17:12:21.128 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.133 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89ebb235, /127.0.0.1:45114 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.134 [nioEventLoopGroup-52-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:21.135 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89ebb235, /127.0.0.1:45114 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.135 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89ebb235, /127.0.0.1:45114 => /127.0.0.1:37308] FLUSH
17:12:21.136 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.136 [nioEventLoopGroup-60-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-60-1
17:12:21.136 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89ebb235, /127.0.0.1:45114 => /127.0.0.1:37308] FLUSH
17:12:21.137 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89ebb235, /127.0.0.1:45114 :> /127.0.0.1:37308] INACTIVE
17:12:21.137 [nioEventLoopGroup-52-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89ebb235, /127.0.0.1:45114 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.138 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.142 [nioEventLoopGroup-52-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f7e432, /127.0.0.1:45116 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.144 [nioEventLoopGroup-52-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:21.144 [nioEventLoopGroup-52-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f7e432, /127.0.0.1:45116 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.144 [nioEventLoopGroup-52-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f7e432, /127.0.0.1:45116 => /127.0.0.1:37308] FLUSH
17:12:21.145 [nioEventLoopGroup-52-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f7e432, /127.0.0.1:45116 => /127.0.0.1:37308] FLUSH
17:12:21.145 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.145 [nioEventLoopGroup-52-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f7e432, /127.0.0.1:45116 :> /127.0.0.1:37308] INACTIVE
17:12:21.145 [nioEventLoopGroup-52-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x76f7e432, /127.0.0.1:45116 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.145 [nioEventLoopGroup-61-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-61-1
17:12:21.146 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.151 [nioEventLoopGroup-52-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b55f327, /127.0.0.1:45118 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.152 [nioEventLoopGroup-52-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:21.152 [nioEventLoopGroup-52-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b55f327, /127.0.0.1:45118 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.152 [nioEventLoopGroup-52-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b55f327, /127.0.0.1:45118 => /127.0.0.1:37308] FLUSH
17:12:21.153 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.154 [nioEventLoopGroup-52-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b55f327, /127.0.0.1:45118 => /127.0.0.1:37308] FLUSH
17:12:21.154 [nioEventLoopGroup-52-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b55f327, /127.0.0.1:45118 :> /127.0.0.1:37308] INACTIVE
17:12:21.154 [nioEventLoopGroup-52-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b55f327, /127.0.0.1:45118 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.154 [nioEventLoopGroup-62-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-62-1
17:12:21.155 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.159 [nioEventLoopGroup-52-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6b63fa6, /127.0.0.1:45120 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.161 [nioEventLoopGroup-52-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:21.161 [nioEventLoopGroup-52-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6b63fa6, /127.0.0.1:45120 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.161 [nioEventLoopGroup-52-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6b63fa6, /127.0.0.1:45120 => /127.0.0.1:37308] FLUSH
17:12:21.162 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.162 [nioEventLoopGroup-52-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6b63fa6, /127.0.0.1:45120 => /127.0.0.1:37308] FLUSH
17:12:21.162 [nioEventLoopGroup-52-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6b63fa6, /127.0.0.1:45120 :> /127.0.0.1:37308] INACTIVE
17:12:21.162 [nioEventLoopGroup-63-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-63-1
17:12:21.162 [nioEventLoopGroup-52-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6b63fa6, /127.0.0.1:45120 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.164 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.168 [nioEventLoopGroup-52-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb86f7c7d, /127.0.0.1:45122 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:21.169 [nioEventLoopGroup-52-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:21.170 [nioEventLoopGroup-52-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb86f7c7d, /127.0.0.1:45122 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.171 [nioEventLoopGroup-52-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb86f7c7d, /127.0.0.1:45122 => /127.0.0.1:37308] FLUSH
17:12:21.172 [nioEventLoopGroup-52-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb86f7c7d, /127.0.0.1:45122 => /127.0.0.1:37308] FLUSH
17:12:21.172 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.172 [nioEventLoopGroup-52-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb86f7c7d, /127.0.0.1:45122 :> /127.0.0.1:37308] INACTIVE
17:12:21.172 [nioEventLoopGroup-64-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-64-1
17:12:21.172 [nioEventLoopGroup-52-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb86f7c7d, /127.0.0.1:45122 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.173 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.177 [nioEventLoopGroup-52-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcffc07fa, /127.0.0.1:45124 => /127.0.0.1:37308] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:21.179 [nioEventLoopGroup-52-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:21.179 [nioEventLoopGroup-52-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcffc07fa, /127.0.0.1:45124 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.179 [nioEventLoopGroup-52-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcffc07fa, /127.0.0.1:45124 => /127.0.0.1:37308] FLUSH
17:12:21.180 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.180 [nioEventLoopGroup-52-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcffc07fa, /127.0.0.1:45124 => /127.0.0.1:37308] FLUSH
17:12:21.180 [nioEventLoopGroup-52-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcffc07fa, /127.0.0.1:45124 :> /127.0.0.1:37308] INACTIVE
17:12:21.180 [nioEventLoopGroup-52-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcffc07fa, /127.0.0.1:45124 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.180 [nioEventLoopGroup-65-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-65-1
17:12:21.186 [nioEventLoopGroup-52-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e9c0dad, /127.0.0.1:45126 => /127.0.0.1:37308] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:37308
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:21.186 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.187 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.187 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:21.188 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.188 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.188 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.189 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.189 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.189 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.190 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.190 [nioEventLoopGroup-52-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:21.191 [nioEventLoopGroup-52-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:21.191 [nioEventLoopGroup-52-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e9c0dad, /127.0.0.1:45126 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:21.191 [nioEventLoopGroup-52-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e9c0dad, /127.0.0.1:45126 => /127.0.0.1:37308] FLUSH
17:12:21.197 [nioEventLoopGroup-36-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa814a040, /127.0.0.1:47348 :> /127.0.0.1:40870] FLUSH
17:12:21.197 [nioEventLoopGroup-52-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa542ef10, /127.0.0.1:45128 => /127.0.0.1:37308] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:37308
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:21.197 [nioEventLoopGroup-36-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa814a040, /127.0.0.1:47348 :> /127.0.0.1:40870] INACTIVE
17:12:21.197 [nioEventLoopGroup-36-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa814a040, /127.0.0.1:47348 :> /127.0.0.1:40870] UNREGISTERED
17:12:21.197 [nioEventLoopGroup-36-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-16
17:12:21.198 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.198 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.199 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:21.199 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.199 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.200 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.200 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.201 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.201 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.202 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.202 [nioEventLoopGroup-52-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:21.203 [nioEventLoopGroup-52-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37308" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:21.203 [nioEventLoopGroup-52-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa542ef10, /127.0.0.1:45128 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:21.203 [nioEventLoopGroup-52-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa542ef10, /127.0.0.1:45128 => /127.0.0.1:37308] FLUSH
17:12:21.204 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:21.207 [nioEventLoopGroup-52-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1989dbc2, /127.0.0.1:45130 => /127.0.0.1:37308] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:37308
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:21.207 [nioEventLoopGroup-52-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1989dbc2, /127.0.0.1:45130 => /127.0.0.1:37308] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.207 [nioEventLoopGroup-52-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1989dbc2, /127.0.0.1:45130 => /127.0.0.1:37308] FLUSH
17:12:21.207 [nioEventLoopGroup-52-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1989dbc2, /127.0.0.1:45130 => /127.0.0.1:37308] CLOSE()
17:12:21.208 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.208 [nioEventLoopGroup-66-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-66-1
17:12:21.211 [nioEventLoopGroup-52-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-2
17:12:21.211 [nioEventLoopGroup-52-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-4
17:12:21.211 [nioEventLoopGroup-52-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-3
17:12:21.211 [nioEventLoopGroup-52-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-6
17:12:21.211 [nioEventLoopGroup-52-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-11
17:12:21.211 [nioEventLoopGroup-52-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-1
17:12:21.211 [nioEventLoopGroup-52-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-7
17:12:21.211 [nioEventLoopGroup-52-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-12
17:12:21.211 [nioEventLoopGroup-52-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-9
17:12:21.211 [nioEventLoopGroup-52-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e9c0dad, /127.0.0.1:45126 :> /127.0.0.1:37308] INACTIVE
17:12:21.211 [nioEventLoopGroup-52-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-5
17:12:21.211 [nioEventLoopGroup-52-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-8
17:12:21.211 [nioEventLoopGroup-52-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa542ef10, /127.0.0.1:45128 :> /127.0.0.1:37308] INACTIVE
17:12:21.211 [nioEventLoopGroup-52-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-13
17:12:21.213 [nioEventLoopGroup-52-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-10
17:12:21.214 [nioEventLoopGroup-52-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e9c0dad, /127.0.0.1:45126 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.214 [nioEventLoopGroup-52-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa542ef10, /127.0.0.1:45128 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.626 [MockServer thread for port: 44822] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 44822
17:12:21.626 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.632 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7108e18, /127.0.0.1:47358 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:21.634 [nioEventLoopGroup-68-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:21.634 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7108e18, /127.0.0.1:47358 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.634 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7108e18, /127.0.0.1:47358 => /127.0.0.1:44822] FLUSH
17:12:21.635 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.635 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7108e18, /127.0.0.1:47358 => /127.0.0.1:44822] FLUSH
17:12:21.635 [nioEventLoopGroup-69-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-69-1
17:12:21.635 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7108e18, /127.0.0.1:47358 :> /127.0.0.1:44822] INACTIVE
17:12:21.635 [nioEventLoopGroup-68-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7108e18, /127.0.0.1:47358 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.646 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.656 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72c2d72, /127.0.0.1:47362 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:21.662 [nioEventLoopGroup-68-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:21.666 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72c2d72, /127.0.0.1:47362 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.666 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72c2d72, /127.0.0.1:47362 => /127.0.0.1:44822] FLUSH
17:12:21.667 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.667 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72c2d72, /127.0.0.1:47362 => /127.0.0.1:44822] FLUSH
17:12:21.668 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72c2d72, /127.0.0.1:47362 :> /127.0.0.1:44822] INACTIVE
17:12:21.668 [nioEventLoopGroup-68-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb72c2d72, /127.0.0.1:47362 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.668 [nioEventLoopGroup-70-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-70-1
17:12:21.670 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.680 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f7e181f, /127.0.0.1:47366 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:21.683 [nioEventLoopGroup-68-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:21.684 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f7e181f, /127.0.0.1:47366 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.684 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f7e181f, /127.0.0.1:47366 => /127.0.0.1:44822] FLUSH
17:12:21.685 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.685 [nioEventLoopGroup-71-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-71-1
17:12:21.685 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f7e181f, /127.0.0.1:47366 => /127.0.0.1:44822] FLUSH
17:12:21.686 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f7e181f, /127.0.0.1:47366 :> /127.0.0.1:44822] INACTIVE
17:12:21.686 [nioEventLoopGroup-68-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f7e181f, /127.0.0.1:47366 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.688 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.697 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14c2b3d3, /127.0.0.1:47368 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.698 [nioEventLoopGroup-68-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:21.699 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14c2b3d3, /127.0.0.1:47368 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.699 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14c2b3d3, /127.0.0.1:47368 => /127.0.0.1:44822] FLUSH
17:12:21.700 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.701 [nioEventLoopGroup-72-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-72-1
17:12:21.701 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14c2b3d3, /127.0.0.1:47368 => /127.0.0.1:44822] FLUSH
17:12:21.701 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14c2b3d3, /127.0.0.1:47368 :> /127.0.0.1:44822] INACTIVE
17:12:21.702 [nioEventLoopGroup-68-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14c2b3d3, /127.0.0.1:47368 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.703 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.704 [nioEventLoopGroup-36-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-15
17:12:21.704 [nioEventLoopGroup-36-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-36-14
17:12:21.711 [nioEventLoopGroup-52-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1989dbc2, /127.0.0.1:45130 :> /127.0.0.1:37308] FLUSH
17:12:21.711 [nioEventLoopGroup-52-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1989dbc2, /127.0.0.1:45130 :> /127.0.0.1:37308] INACTIVE
17:12:21.711 [nioEventLoopGroup-52-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1989dbc2, /127.0.0.1:45130 :> /127.0.0.1:37308] UNREGISTERED
17:12:21.712 [nioEventLoopGroup-52-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-16
17:12:21.717 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37051099, /127.0.0.1:47370 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:21.718 [nioEventLoopGroup-68-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:21.719 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37051099, /127.0.0.1:47370 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.719 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37051099, /127.0.0.1:47370 => /127.0.0.1:44822] FLUSH
17:12:21.719 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.720 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37051099, /127.0.0.1:47370 => /127.0.0.1:44822] FLUSH
17:12:21.720 [nioEventLoopGroup-73-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-73-1
17:12:21.720 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37051099, /127.0.0.1:47370 :> /127.0.0.1:44822] INACTIVE
17:12:21.721 [nioEventLoopGroup-68-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37051099, /127.0.0.1:47370 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.722 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.730 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb90ec099, /127.0.0.1:47372 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:21.732 [nioEventLoopGroup-68-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:21.732 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb90ec099, /127.0.0.1:47372 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.733 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb90ec099, /127.0.0.1:47372 => /127.0.0.1:44822] FLUSH
17:12:21.734 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.734 [nioEventLoopGroup-74-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-74-1
17:12:21.735 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb90ec099, /127.0.0.1:47372 => /127.0.0.1:44822] FLUSH
17:12:21.735 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb90ec099, /127.0.0.1:47372 :> /127.0.0.1:44822] INACTIVE
17:12:21.735 [nioEventLoopGroup-68-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb90ec099, /127.0.0.1:47372 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.749 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.754 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4a18824, /127.0.0.1:47374 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:21.755 [nioEventLoopGroup-68-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:21.756 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4a18824, /127.0.0.1:47374 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.756 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4a18824, /127.0.0.1:47374 => /127.0.0.1:44822] FLUSH
17:12:21.757 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.757 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4a18824, /127.0.0.1:47374 => /127.0.0.1:44822] FLUSH
17:12:21.757 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4a18824, /127.0.0.1:47374 :> /127.0.0.1:44822] INACTIVE
17:12:21.757 [nioEventLoopGroup-68-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4a18824, /127.0.0.1:47374 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.758 [nioEventLoopGroup-75-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-75-1
17:12:21.758 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.767 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7cccd78, /127.0.0.1:47378 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.769 [nioEventLoopGroup-68-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:21.769 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7cccd78, /127.0.0.1:47378 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.769 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7cccd78, /127.0.0.1:47378 => /127.0.0.1:44822] FLUSH
17:12:21.770 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.770 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7cccd78, /127.0.0.1:47378 => /127.0.0.1:44822] FLUSH
17:12:21.770 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7cccd78, /127.0.0.1:47378 :> /127.0.0.1:44822] INACTIVE
17:12:21.770 [nioEventLoopGroup-68-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7cccd78, /127.0.0.1:47378 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.772 [nioEventLoopGroup-76-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-76-1
17:12:21.772 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.782 [nioEventLoopGroup-68-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf020f05, /127.0.0.1:47380 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.784 [nioEventLoopGroup-68-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:21.784 [nioEventLoopGroup-68-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf020f05, /127.0.0.1:47380 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.785 [nioEventLoopGroup-68-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf020f05, /127.0.0.1:47380 => /127.0.0.1:44822] FLUSH
17:12:21.785 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.786 [nioEventLoopGroup-68-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf020f05, /127.0.0.1:47380 => /127.0.0.1:44822] FLUSH
17:12:21.786 [nioEventLoopGroup-77-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-77-1
17:12:21.787 [nioEventLoopGroup-68-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf020f05, /127.0.0.1:47380 :> /127.0.0.1:44822] INACTIVE
17:12:21.787 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.787 [nioEventLoopGroup-68-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf020f05, /127.0.0.1:47380 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.792 [nioEventLoopGroup-68-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95a43843, /127.0.0.1:47382 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.793 [nioEventLoopGroup-68-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:21.794 [nioEventLoopGroup-68-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95a43843, /127.0.0.1:47382 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.794 [nioEventLoopGroup-68-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95a43843, /127.0.0.1:47382 => /127.0.0.1:44822] FLUSH
17:12:21.795 [nioEventLoopGroup-68-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95a43843, /127.0.0.1:47382 => /127.0.0.1:44822] FLUSH
17:12:21.795 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.795 [nioEventLoopGroup-78-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-78-1
17:12:21.796 [nioEventLoopGroup-68-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95a43843, /127.0.0.1:47382 :> /127.0.0.1:44822] INACTIVE
17:12:21.796 [nioEventLoopGroup-68-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95a43843, /127.0.0.1:47382 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.796 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.800 [nioEventLoopGroup-68-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc48dc05d, /127.0.0.1:47384 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:21.802 [nioEventLoopGroup-68-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:21.804 [nioEventLoopGroup-68-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc48dc05d, /127.0.0.1:47384 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.804 [nioEventLoopGroup-68-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc48dc05d, /127.0.0.1:47384 => /127.0.0.1:44822] FLUSH
17:12:21.805 [nioEventLoopGroup-68-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc48dc05d, /127.0.0.1:47384 => /127.0.0.1:44822] FLUSH
17:12:21.805 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.806 [nioEventLoopGroup-79-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-79-1
17:12:21.806 [nioEventLoopGroup-68-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc48dc05d, /127.0.0.1:47384 :> /127.0.0.1:44822] INACTIVE
17:12:21.806 [nioEventLoopGroup-68-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc48dc05d, /127.0.0.1:47384 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.807 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.815 [nioEventLoopGroup-68-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd291e336, /127.0.0.1:47388 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:21.817 [nioEventLoopGroup-68-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:21.819 [nioEventLoopGroup-68-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd291e336, /127.0.0.1:47388 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.820 [nioEventLoopGroup-68-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd291e336, /127.0.0.1:47388 => /127.0.0.1:44822] FLUSH
17:12:21.820 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.821 [nioEventLoopGroup-80-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-80-1
17:12:21.821 [nioEventLoopGroup-68-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd291e336, /127.0.0.1:47388 => /127.0.0.1:44822] FLUSH
17:12:21.822 [nioEventLoopGroup-68-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd291e336, /127.0.0.1:47388 :> /127.0.0.1:44822] INACTIVE
17:12:21.822 [nioEventLoopGroup-68-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd291e336, /127.0.0.1:47388 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.823 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:21.830 [nioEventLoopGroup-68-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbae34c9a, /127.0.0.1:47392 => /127.0.0.1:44822] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:21.834 [nioEventLoopGroup-68-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:21.835 [nioEventLoopGroup-68-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbae34c9a, /127.0.0.1:47392 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.836 [nioEventLoopGroup-68-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbae34c9a, /127.0.0.1:47392 => /127.0.0.1:44822] FLUSH
17:12:21.836 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.839 [nioEventLoopGroup-81-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-81-1
17:12:21.840 [nioEventLoopGroup-68-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbae34c9a, /127.0.0.1:47392 => /127.0.0.1:44822] FLUSH
17:12:21.840 [nioEventLoopGroup-68-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbae34c9a, /127.0.0.1:47392 :> /127.0.0.1:44822] INACTIVE
17:12:21.840 [nioEventLoopGroup-68-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbae34c9a, /127.0.0.1:47392 :> /127.0.0.1:44822] UNREGISTERED
17:12:21.860 [nioEventLoopGroup-68-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ec0690, /127.0.0.1:47396 => /127.0.0.1:44822] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:44822
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:21.861 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.862 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.863 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:21.863 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.864 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.864 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.865 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.865 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:21.866 [nioEventLoopGroup-68-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:21.867 [nioEventLoopGroup-68-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ec0690, /127.0.0.1:47396 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:21.867 [nioEventLoopGroup-68-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ec0690, /127.0.0.1:47396 => /127.0.0.1:44822] FLUSH
17:12:21.871 [nioEventLoopGroup-68-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ec0690, /127.0.0.1:47396 => /127.0.0.1:44822] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:44822
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:21.872 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.873 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.873 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:21.875 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.877 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.878 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.880 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:21.881 [nioEventLoopGroup-68-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:21.883 [nioEventLoopGroup-68-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:44822" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:21.883 [nioEventLoopGroup-68-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ec0690, /127.0.0.1:47396 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:21.884 [nioEventLoopGroup-68-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ec0690, /127.0.0.1:47396 => /127.0.0.1:44822] FLUSH
17:12:21.885 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:21.889 [nioEventLoopGroup-68-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc319b72f, /127.0.0.1:47400 => /127.0.0.1:44822] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:44822
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:21.890 [nioEventLoopGroup-68-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc319b72f, /127.0.0.1:47400 => /127.0.0.1:44822] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:21.890 [nioEventLoopGroup-68-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc319b72f, /127.0.0.1:47400 => /127.0.0.1:44822] FLUSH
17:12:21.890 [nioEventLoopGroup-68-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc319b72f, /127.0.0.1:47400 => /127.0.0.1:44822] CLOSE()
17:12:21.894 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:21.895 [nioEventLoopGroup-82-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-82-1
17:12:21.917 [nioEventLoopGroup-68-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-1
17:12:21.917 [nioEventLoopGroup-68-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-5
17:12:21.917 [nioEventLoopGroup-68-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-8
17:12:21.917 [nioEventLoopGroup-68-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-2
17:12:21.917 [nioEventLoopGroup-68-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-10
17:12:21.917 [nioEventLoopGroup-68-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-4
17:12:21.917 [nioEventLoopGroup-68-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-11
17:12:21.917 [nioEventLoopGroup-68-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-12
17:12:21.917 [nioEventLoopGroup-68-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-3
17:12:21.917 [nioEventLoopGroup-68-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-9
17:12:21.917 [nioEventLoopGroup-68-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-13
17:12:21.917 [nioEventLoopGroup-68-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-6
17:12:21.917 [nioEventLoopGroup-68-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-7
17:12:21.918 [nioEventLoopGroup-68-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ec0690, /127.0.0.1:47396 :> /127.0.0.1:44822] INACTIVE
17:12:21.919 [nioEventLoopGroup-68-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06ec0690, /127.0.0.1:47396 :> /127.0.0.1:44822] UNREGISTERED
17:12:22.215 [nioEventLoopGroup-52-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-14
17:12:22.215 [nioEventLoopGroup-52-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-52-15
17:12:22.268 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.269 [MockServer thread for port: 39956] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 39956
17:12:22.271 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x737b6d13, /127.0.0.1:42536 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:22.272 [nioEventLoopGroup-84-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:22.272 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x737b6d13, /127.0.0.1:42536 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.273 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x737b6d13, /127.0.0.1:42536 => /127.0.0.1:39956] FLUSH
17:12:22.273 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.273 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x737b6d13, /127.0.0.1:42536 => /127.0.0.1:39956] FLUSH
17:12:22.273 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x737b6d13, /127.0.0.1:42536 :> /127.0.0.1:39956] INACTIVE
17:12:22.273 [nioEventLoopGroup-84-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x737b6d13, /127.0.0.1:42536 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.274 [nioEventLoopGroup-85-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-85-1
17:12:22.275 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.279 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe17a8e55, /127.0.0.1:42538 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:22.283 [nioEventLoopGroup-84-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:22.284 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe17a8e55, /127.0.0.1:42538 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.284 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe17a8e55, /127.0.0.1:42538 => /127.0.0.1:39956] FLUSH
17:12:22.284 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.285 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe17a8e55, /127.0.0.1:42538 => /127.0.0.1:39956] FLUSH
17:12:22.285 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe17a8e55, /127.0.0.1:42538 :> /127.0.0.1:39956] INACTIVE
17:12:22.285 [nioEventLoopGroup-84-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe17a8e55, /127.0.0.1:42538 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.286 [nioEventLoopGroup-86-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-86-1
17:12:22.294 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.299 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x797f7136, /127.0.0.1:42540 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:22.302 [nioEventLoopGroup-84-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:22.303 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x797f7136, /127.0.0.1:42540 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.304 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x797f7136, /127.0.0.1:42540 => /127.0.0.1:39956] FLUSH
17:12:22.304 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x797f7136, /127.0.0.1:42540 => /127.0.0.1:39956] FLUSH
17:12:22.304 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.305 [nioEventLoopGroup-87-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-87-1
17:12:22.305 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x797f7136, /127.0.0.1:42540 :> /127.0.0.1:39956] INACTIVE
17:12:22.305 [nioEventLoopGroup-84-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x797f7136, /127.0.0.1:42540 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.307 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.311 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb43913b9, /127.0.0.1:42544 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.312 [nioEventLoopGroup-84-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:22.312 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb43913b9, /127.0.0.1:42544 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.313 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb43913b9, /127.0.0.1:42544 => /127.0.0.1:39956] FLUSH
17:12:22.313 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.314 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb43913b9, /127.0.0.1:42544 => /127.0.0.1:39956] FLUSH
17:12:22.314 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb43913b9, /127.0.0.1:42544 :> /127.0.0.1:39956] INACTIVE
17:12:22.314 [nioEventLoopGroup-88-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-88-1
17:12:22.314 [nioEventLoopGroup-84-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb43913b9, /127.0.0.1:42544 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.315 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.320 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x297ea589, /127.0.0.1:42548 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:22.322 [nioEventLoopGroup-84-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:22.324 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x297ea589, /127.0.0.1:42548 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.325 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x297ea589, /127.0.0.1:42548 => /127.0.0.1:39956] FLUSH
17:12:22.325 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.326 [nioEventLoopGroup-89-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-89-1
17:12:22.326 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x297ea589, /127.0.0.1:42548 => /127.0.0.1:39956] FLUSH
17:12:22.329 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x297ea589, /127.0.0.1:42548 :> /127.0.0.1:39956] INACTIVE
17:12:22.329 [nioEventLoopGroup-84-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x297ea589, /127.0.0.1:42548 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.331 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.336 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1af5d401, /127.0.0.1:42550 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:22.337 [nioEventLoopGroup-84-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:22.337 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1af5d401, /127.0.0.1:42550 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.337 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1af5d401, /127.0.0.1:42550 => /127.0.0.1:39956] FLUSH
17:12:22.338 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1af5d401, /127.0.0.1:42550 => /127.0.0.1:39956] FLUSH
17:12:22.338 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1af5d401, /127.0.0.1:42550 :> /127.0.0.1:39956] INACTIVE
17:12:22.338 [nioEventLoopGroup-84-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1af5d401, /127.0.0.1:42550 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.338 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.339 [nioEventLoopGroup-90-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-90-1
17:12:22.340 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.343 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47dc30b7, /127.0.0.1:42552 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:22.344 [nioEventLoopGroup-84-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:22.344 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47dc30b7, /127.0.0.1:42552 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.344 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47dc30b7, /127.0.0.1:42552 => /127.0.0.1:39956] FLUSH
17:12:22.345 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.345 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47dc30b7, /127.0.0.1:42552 => /127.0.0.1:39956] FLUSH
17:12:22.345 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47dc30b7, /127.0.0.1:42552 :> /127.0.0.1:39956] INACTIVE
17:12:22.345 [nioEventLoopGroup-84-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47dc30b7, /127.0.0.1:42552 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.345 [nioEventLoopGroup-91-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-91-1
17:12:22.346 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.349 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669fd442, /127.0.0.1:42554 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.350 [nioEventLoopGroup-84-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:22.351 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669fd442, /127.0.0.1:42554 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.351 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669fd442, /127.0.0.1:42554 => /127.0.0.1:39956] FLUSH
17:12:22.351 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669fd442, /127.0.0.1:42554 => /127.0.0.1:39956] FLUSH
17:12:22.351 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.352 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669fd442, /127.0.0.1:42554 :> /127.0.0.1:39956] INACTIVE
17:12:22.352 [nioEventLoopGroup-84-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x669fd442, /127.0.0.1:42554 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.352 [nioEventLoopGroup-92-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-92-1
17:12:22.353 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.358 [nioEventLoopGroup-84-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf319b0e, /127.0.0.1:42556 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.359 [nioEventLoopGroup-84-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:22.359 [nioEventLoopGroup-84-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf319b0e, /127.0.0.1:42556 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.360 [nioEventLoopGroup-84-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf319b0e, /127.0.0.1:42556 => /127.0.0.1:39956] FLUSH
17:12:22.360 [nioEventLoopGroup-84-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf319b0e, /127.0.0.1:42556 => /127.0.0.1:39956] FLUSH
17:12:22.360 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.360 [nioEventLoopGroup-84-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf319b0e, /127.0.0.1:42556 :> /127.0.0.1:39956] INACTIVE
17:12:22.360 [nioEventLoopGroup-84-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf319b0e, /127.0.0.1:42556 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.360 [nioEventLoopGroup-93-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-93-1
17:12:22.361 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.364 [nioEventLoopGroup-84-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcedc9075, /127.0.0.1:42558 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.365 [nioEventLoopGroup-84-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:22.366 [nioEventLoopGroup-84-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcedc9075, /127.0.0.1:42558 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.366 [nioEventLoopGroup-84-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcedc9075, /127.0.0.1:42558 => /127.0.0.1:39956] FLUSH
17:12:22.366 [nioEventLoopGroup-84-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcedc9075, /127.0.0.1:42558 => /127.0.0.1:39956] FLUSH
17:12:22.366 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.366 [nioEventLoopGroup-84-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcedc9075, /127.0.0.1:42558 :> /127.0.0.1:39956] INACTIVE
17:12:22.366 [nioEventLoopGroup-84-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcedc9075, /127.0.0.1:42558 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.367 [nioEventLoopGroup-94-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-94-1
17:12:22.368 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.371 [nioEventLoopGroup-84-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x13ebdc85, /127.0.0.1:42560 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.371 [nioEventLoopGroup-84-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:22.372 [nioEventLoopGroup-84-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x13ebdc85, /127.0.0.1:42560 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.372 [nioEventLoopGroup-84-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x13ebdc85, /127.0.0.1:42560 => /127.0.0.1:39956] FLUSH
17:12:22.372 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.372 [nioEventLoopGroup-84-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x13ebdc85, /127.0.0.1:42560 => /127.0.0.1:39956] FLUSH
17:12:22.372 [nioEventLoopGroup-84-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x13ebdc85, /127.0.0.1:42560 :> /127.0.0.1:39956] INACTIVE
17:12:22.372 [nioEventLoopGroup-84-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x13ebdc85, /127.0.0.1:42560 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.373 [nioEventLoopGroup-95-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-95-1
17:12:22.373 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.376 [nioEventLoopGroup-84-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x117ee311, /127.0.0.1:42562 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:22.378 [nioEventLoopGroup-84-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:22.378 [nioEventLoopGroup-84-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x117ee311, /127.0.0.1:42562 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.378 [nioEventLoopGroup-84-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x117ee311, /127.0.0.1:42562 => /127.0.0.1:39956] FLUSH
17:12:22.379 [nioEventLoopGroup-84-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x117ee311, /127.0.0.1:42562 => /127.0.0.1:39956] FLUSH
17:12:22.379 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.379 [nioEventLoopGroup-84-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x117ee311, /127.0.0.1:42562 :> /127.0.0.1:39956] INACTIVE
17:12:22.379 [nioEventLoopGroup-84-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x117ee311, /127.0.0.1:42562 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.379 [nioEventLoopGroup-96-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-96-1
17:12:22.382 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.387 [nioEventLoopGroup-84-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e9cc700, /127.0.0.1:42564 => /127.0.0.1:39956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:22.389 [nioEventLoopGroup-84-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:22.390 [nioEventLoopGroup-84-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e9cc700, /127.0.0.1:42564 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.390 [nioEventLoopGroup-84-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e9cc700, /127.0.0.1:42564 => /127.0.0.1:39956] FLUSH
17:12:22.391 [nioEventLoopGroup-84-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e9cc700, /127.0.0.1:42564 => /127.0.0.1:39956] FLUSH
17:12:22.391 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.391 [nioEventLoopGroup-84-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e9cc700, /127.0.0.1:42564 :> /127.0.0.1:39956] INACTIVE
17:12:22.391 [nioEventLoopGroup-84-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e9cc700, /127.0.0.1:42564 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.391 [nioEventLoopGroup-97-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-97-1
17:12:22.394 [nioEventLoopGroup-84-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x359242f6, /127.0.0.1:42566 => /127.0.0.1:39956] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:39956
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:22.395 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.396 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.396 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:22.396 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.397 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.397 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.397 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.398 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.398 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:22.399 [nioEventLoopGroup-84-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:22.399 [nioEventLoopGroup-84-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x359242f6, /127.0.0.1:42566 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:22.399 [nioEventLoopGroup-84-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x359242f6, /127.0.0.1:42566 => /127.0.0.1:39956] FLUSH
17:12:22.401 [nioEventLoopGroup-84-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x359242f6, /127.0.0.1:42566 => /127.0.0.1:39956] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:39956
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:22.401 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.402 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.402 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:22.403 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.403 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.404 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.404 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.405 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.406 [nioEventLoopGroup-84-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:22.406 [nioEventLoopGroup-84-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:22.406 [nioEventLoopGroup-84-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x359242f6, /127.0.0.1:42566 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:22.407 [nioEventLoopGroup-84-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x359242f6, /127.0.0.1:42566 => /127.0.0.1:39956] FLUSH
17:12:22.407 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:22.411 [nioEventLoopGroup-84-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x818250d1, /127.0.0.1:42568 => /127.0.0.1:39956] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:39956
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:22.411 [nioEventLoopGroup-84-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x818250d1, /127.0.0.1:42568 => /127.0.0.1:39956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.411 [nioEventLoopGroup-84-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x818250d1, /127.0.0.1:42568 => /127.0.0.1:39956] FLUSH
17:12:22.412 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.413 [nioEventLoopGroup-98-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-98-1
17:12:22.414 [nioEventLoopGroup-84-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x818250d1, /127.0.0.1:42568 => /127.0.0.1:39956] CLOSE()
17:12:22.420 [nioEventLoopGroup-68-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc319b72f, /127.0.0.1:47400 :> /127.0.0.1:44822] FLUSH
17:12:22.421 [nioEventLoopGroup-68-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc319b72f, /127.0.0.1:47400 :> /127.0.0.1:44822] INACTIVE
17:12:22.421 [nioEventLoopGroup-68-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc319b72f, /127.0.0.1:47400 :> /127.0.0.1:44822] UNREGISTERED
17:12:22.421 [nioEventLoopGroup-68-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-15
17:12:22.431 [nioEventLoopGroup-84-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-1
17:12:22.431 [nioEventLoopGroup-84-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-4
17:12:22.431 [nioEventLoopGroup-84-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-2
17:12:22.431 [nioEventLoopGroup-84-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-3
17:12:22.431 [nioEventLoopGroup-84-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-5
17:12:22.431 [nioEventLoopGroup-84-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-6
17:12:22.431 [nioEventLoopGroup-84-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-7
17:12:22.431 [nioEventLoopGroup-84-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-8
17:12:22.431 [nioEventLoopGroup-84-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-9
17:12:22.431 [nioEventLoopGroup-84-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-10
17:12:22.431 [nioEventLoopGroup-84-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-11
17:12:22.431 [nioEventLoopGroup-84-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-12
17:12:22.432 [nioEventLoopGroup-84-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x359242f6, /127.0.0.1:42566 :> /127.0.0.1:39956] INACTIVE
17:12:22.432 [nioEventLoopGroup-84-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-13
17:12:22.433 [nioEventLoopGroup-84-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x359242f6, /127.0.0.1:42566 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.778 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.783 [MockServer thread for port: 34618] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 34618
17:12:22.796 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a35dc80, /127.0.0.1:52038 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:22.799 [nioEventLoopGroup-100-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:22.802 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a35dc80, /127.0.0.1:52038 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.803 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a35dc80, /127.0.0.1:52038 => /127.0.0.1:34618] FLUSH
17:12:22.804 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.804 [nioEventLoopGroup-101-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-101-1
17:12:22.805 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a35dc80, /127.0.0.1:52038 => /127.0.0.1:34618] FLUSH
17:12:22.806 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a35dc80, /127.0.0.1:52038 :> /127.0.0.1:34618] INACTIVE
17:12:22.806 [nioEventLoopGroup-100-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7a35dc80, /127.0.0.1:52038 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.807 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.814 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67ba24d4, /127.0.0.1:52042 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:22.819 [nioEventLoopGroup-100-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:22.819 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67ba24d4, /127.0.0.1:52042 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.819 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67ba24d4, /127.0.0.1:52042 => /127.0.0.1:34618] FLUSH
17:12:22.820 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.820 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67ba24d4, /127.0.0.1:52042 => /127.0.0.1:34618] FLUSH
17:12:22.820 [nioEventLoopGroup-102-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-102-1
17:12:22.821 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67ba24d4, /127.0.0.1:52042 :> /127.0.0.1:34618] INACTIVE
17:12:22.821 [nioEventLoopGroup-100-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x67ba24d4, /127.0.0.1:52042 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.823 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.832 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1db0fcad, /127.0.0.1:52048 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:22.834 [nioEventLoopGroup-100-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:22.834 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1db0fcad, /127.0.0.1:52048 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.835 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1db0fcad, /127.0.0.1:52048 => /127.0.0.1:34618] FLUSH
17:12:22.835 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.835 [nioEventLoopGroup-103-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-103-1
17:12:22.836 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1db0fcad, /127.0.0.1:52048 => /127.0.0.1:34618] FLUSH
17:12:22.837 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1db0fcad, /127.0.0.1:52048 :> /127.0.0.1:34618] INACTIVE
17:12:22.837 [nioEventLoopGroup-100-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1db0fcad, /127.0.0.1:52048 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.838 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.843 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2d513ff, /127.0.0.1:52052 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.844 [nioEventLoopGroup-100-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:22.844 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2d513ff, /127.0.0.1:52052 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.845 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2d513ff, /127.0.0.1:52052 => /127.0.0.1:34618] FLUSH
17:12:22.845 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2d513ff, /127.0.0.1:52052 => /127.0.0.1:34618] FLUSH
17:12:22.845 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.845 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2d513ff, /127.0.0.1:52052 :> /127.0.0.1:34618] INACTIVE
17:12:22.845 [nioEventLoopGroup-100-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2d513ff, /127.0.0.1:52052 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.845 [nioEventLoopGroup-104-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-104-1
17:12:22.848 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.852 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5521768, /127.0.0.1:52054 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:22.853 [nioEventLoopGroup-100-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:22.853 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5521768, /127.0.0.1:52054 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.854 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5521768, /127.0.0.1:52054 => /127.0.0.1:34618] FLUSH
17:12:22.854 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5521768, /127.0.0.1:52054 => /127.0.0.1:34618] FLUSH
17:12:22.854 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.855 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5521768, /127.0.0.1:52054 :> /127.0.0.1:34618] INACTIVE
17:12:22.855 [nioEventLoopGroup-100-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5521768, /127.0.0.1:52054 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.855 [nioEventLoopGroup-105-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-105-1
17:12:22.869 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.872 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9736730, /127.0.0.1:52056 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:22.873 [nioEventLoopGroup-100-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:22.873 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9736730, /127.0.0.1:52056 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.874 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9736730, /127.0.0.1:52056 => /127.0.0.1:34618] FLUSH
17:12:22.874 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.874 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9736730, /127.0.0.1:52056 => /127.0.0.1:34618] FLUSH
17:12:22.874 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9736730, /127.0.0.1:52056 :> /127.0.0.1:34618] INACTIVE
17:12:22.874 [nioEventLoopGroup-100-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9736730, /127.0.0.1:52056 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.874 [nioEventLoopGroup-106-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-106-1
17:12:22.875 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.879 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf04f4c09, /127.0.0.1:52058 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:22.880 [nioEventLoopGroup-100-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:22.880 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf04f4c09, /127.0.0.1:52058 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.880 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf04f4c09, /127.0.0.1:52058 => /127.0.0.1:34618] FLUSH
17:12:22.880 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf04f4c09, /127.0.0.1:52058 => /127.0.0.1:34618] FLUSH
17:12:22.880 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.881 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf04f4c09, /127.0.0.1:52058 :> /127.0.0.1:34618] INACTIVE
17:12:22.881 [nioEventLoopGroup-100-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf04f4c09, /127.0.0.1:52058 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.881 [nioEventLoopGroup-107-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-107-1
17:12:22.882 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.887 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb4af6ac, /127.0.0.1:52060 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.888 [nioEventLoopGroup-100-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:22.888 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb4af6ac, /127.0.0.1:52060 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.889 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb4af6ac, /127.0.0.1:52060 => /127.0.0.1:34618] FLUSH
17:12:22.889 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.890 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb4af6ac, /127.0.0.1:52060 => /127.0.0.1:34618] FLUSH
17:12:22.890 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb4af6ac, /127.0.0.1:52060 :> /127.0.0.1:34618] INACTIVE
17:12:22.890 [nioEventLoopGroup-100-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb4af6ac, /127.0.0.1:52060 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.890 [nioEventLoopGroup-108-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-108-1
17:12:22.891 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.895 [nioEventLoopGroup-100-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x74d67fbb, /127.0.0.1:52062 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.896 [nioEventLoopGroup-100-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:22.896 [nioEventLoopGroup-100-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x74d67fbb, /127.0.0.1:52062 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.897 [nioEventLoopGroup-100-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x74d67fbb, /127.0.0.1:52062 => /127.0.0.1:34618] FLUSH
17:12:22.897 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.897 [nioEventLoopGroup-100-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x74d67fbb, /127.0.0.1:52062 => /127.0.0.1:34618] FLUSH
17:12:22.897 [nioEventLoopGroup-100-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x74d67fbb, /127.0.0.1:52062 :> /127.0.0.1:34618] INACTIVE
17:12:22.897 [nioEventLoopGroup-100-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x74d67fbb, /127.0.0.1:52062 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.898 [nioEventLoopGroup-109-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-109-1
17:12:22.899 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.902 [nioEventLoopGroup-100-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac83dfa1, /127.0.0.1:52064 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.903 [nioEventLoopGroup-100-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:22.903 [nioEventLoopGroup-100-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac83dfa1, /127.0.0.1:52064 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.903 [nioEventLoopGroup-100-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac83dfa1, /127.0.0.1:52064 => /127.0.0.1:34618] FLUSH
17:12:22.904 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.904 [nioEventLoopGroup-100-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac83dfa1, /127.0.0.1:52064 => /127.0.0.1:34618] FLUSH
17:12:22.905 [nioEventLoopGroup-110-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-110-1
17:12:22.905 [nioEventLoopGroup-100-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac83dfa1, /127.0.0.1:52064 :> /127.0.0.1:34618] INACTIVE
17:12:22.905 [nioEventLoopGroup-100-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac83dfa1, /127.0.0.1:52064 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.907 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.911 [nioEventLoopGroup-100-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f7d023b, /127.0.0.1:52066 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:22.912 [nioEventLoopGroup-100-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:22.913 [nioEventLoopGroup-100-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f7d023b, /127.0.0.1:52066 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.913 [nioEventLoopGroup-100-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f7d023b, /127.0.0.1:52066 => /127.0.0.1:34618] FLUSH
17:12:22.913 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.914 [nioEventLoopGroup-100-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f7d023b, /127.0.0.1:52066 => /127.0.0.1:34618] FLUSH
17:12:22.914 [nioEventLoopGroup-100-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f7d023b, /127.0.0.1:52066 :> /127.0.0.1:34618] INACTIVE
17:12:22.914 [nioEventLoopGroup-100-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f7d023b, /127.0.0.1:52066 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.914 [nioEventLoopGroup-111-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-111-1
17:12:22.916 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.920 [nioEventLoopGroup-68-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-68-14
17:12:22.921 [nioEventLoopGroup-100-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0072c08e, /127.0.0.1:52070 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:22.923 [nioEventLoopGroup-100-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:22.923 [nioEventLoopGroup-100-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0072c08e, /127.0.0.1:52070 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.923 [nioEventLoopGroup-100-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0072c08e, /127.0.0.1:52070 => /127.0.0.1:34618] FLUSH
17:12:22.924 [nioEventLoopGroup-100-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0072c08e, /127.0.0.1:52070 => /127.0.0.1:34618] FLUSH
17:12:22.924 [nioEventLoopGroup-100-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0072c08e, /127.0.0.1:52070 :> /127.0.0.1:34618] INACTIVE
17:12:22.924 [nioEventLoopGroup-100-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0072c08e, /127.0.0.1:52070 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.925 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.926 [nioEventLoopGroup-112-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-112-1
17:12:22.928 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:22.931 [nioEventLoopGroup-100-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x057e3ae0, /127.0.0.1:52074 => /127.0.0.1:34618] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:22.932 [nioEventLoopGroup-84-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x818250d1, /127.0.0.1:42568 :> /127.0.0.1:39956] FLUSH
17:12:22.932 [nioEventLoopGroup-84-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x818250d1, /127.0.0.1:42568 :> /127.0.0.1:39956] INACTIVE
17:12:22.932 [nioEventLoopGroup-84-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x818250d1, /127.0.0.1:42568 :> /127.0.0.1:39956] UNREGISTERED
17:12:22.932 [nioEventLoopGroup-100-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:22.933 [nioEventLoopGroup-84-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-15
17:12:22.933 [nioEventLoopGroup-100-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x057e3ae0, /127.0.0.1:52074 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.937 [nioEventLoopGroup-100-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x057e3ae0, /127.0.0.1:52074 => /127.0.0.1:34618] FLUSH
17:12:22.938 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.939 [nioEventLoopGroup-100-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x057e3ae0, /127.0.0.1:52074 => /127.0.0.1:34618] FLUSH
17:12:22.939 [nioEventLoopGroup-100-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x057e3ae0, /127.0.0.1:52074 :> /127.0.0.1:34618] INACTIVE
17:12:22.939 [nioEventLoopGroup-100-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x057e3ae0, /127.0.0.1:52074 :> /127.0.0.1:34618] UNREGISTERED
17:12:22.939 [nioEventLoopGroup-113-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-113-1
17:12:22.946 [nioEventLoopGroup-100-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x198fd7e2, /127.0.0.1:52076 => /127.0.0.1:34618] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:34618
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:22.946 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.947 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.947 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:22.948 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.948 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.948 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.949 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.949 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.950 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.951 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:22.955 [nioEventLoopGroup-100-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:22.956 [nioEventLoopGroup-100-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x198fd7e2, /127.0.0.1:52076 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:22.957 [nioEventLoopGroup-100-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x198fd7e2, /127.0.0.1:52076 => /127.0.0.1:34618] FLUSH
17:12:22.959 [nioEventLoopGroup-100-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x198fd7e2, /127.0.0.1:52076 => /127.0.0.1:34618] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:34618
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:22.960 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.960 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.961 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:22.961 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.961 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.962 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.962 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.962 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.963 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:22.963 [nioEventLoopGroup-100-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:22.964 [nioEventLoopGroup-100-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34618" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:22.965 [nioEventLoopGroup-100-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x198fd7e2, /127.0.0.1:52076 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:22.965 [nioEventLoopGroup-100-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x198fd7e2, /127.0.0.1:52076 => /127.0.0.1:34618] FLUSH
17:12:22.966 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:22.968 [nioEventLoopGroup-100-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c9a1da, /127.0.0.1:52080 => /127.0.0.1:34618] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:34618
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:22.969 [nioEventLoopGroup-100-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c9a1da, /127.0.0.1:52080 => /127.0.0.1:34618] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:22.969 [nioEventLoopGroup-100-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c9a1da, /127.0.0.1:52080 => /127.0.0.1:34618] FLUSH
17:12:22.969 [nioEventLoopGroup-100-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c9a1da, /127.0.0.1:52080 => /127.0.0.1:34618] CLOSE()
17:12:22.969 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:22.970 [nioEventLoopGroup-114-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-114-1
17:12:22.970 [nioEventLoopGroup-100-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-1
17:12:22.970 [nioEventLoopGroup-100-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-3
17:12:22.970 [nioEventLoopGroup-100-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-8
17:12:22.970 [nioEventLoopGroup-100-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-2
17:12:22.971 [nioEventLoopGroup-100-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-4
17:12:22.971 [nioEventLoopGroup-100-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-5
17:12:22.971 [nioEventLoopGroup-100-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-6
17:12:22.971 [nioEventLoopGroup-100-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-7
17:12:22.971 [nioEventLoopGroup-100-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-9
17:12:22.971 [nioEventLoopGroup-100-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-10
17:12:22.971 [nioEventLoopGroup-100-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-11
17:12:22.971 [nioEventLoopGroup-100-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-12
17:12:22.971 [nioEventLoopGroup-100-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-13
17:12:22.971 [nioEventLoopGroup-100-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x198fd7e2, /127.0.0.1:52076 :> /127.0.0.1:34618] INACTIVE
17:12:22.972 [nioEventLoopGroup-100-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x198fd7e2, /127.0.0.1:52076 :> /127.0.0.1:34618] UNREGISTERED
17:12:23.325 [MockServer thread for port: 46866] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 46866
17:12:23.326 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.329 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x258df712, /127.0.0.1:43556 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:23.330 [nioEventLoopGroup-116-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:23.330 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x258df712, /127.0.0.1:43556 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.331 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x258df712, /127.0.0.1:43556 => /127.0.0.1:46866] FLUSH
17:12:23.331 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.331 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x258df712, /127.0.0.1:43556 => /127.0.0.1:46866] FLUSH
17:12:23.332 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x258df712, /127.0.0.1:43556 :> /127.0.0.1:46866] INACTIVE
17:12:23.332 [nioEventLoopGroup-117-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-117-1
17:12:23.332 [nioEventLoopGroup-116-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x258df712, /127.0.0.1:43556 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.333 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.336 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb8907cc4, /127.0.0.1:43560 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:23.337 [nioEventLoopGroup-116-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:23.338 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb8907cc4, /127.0.0.1:43560 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.338 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb8907cc4, /127.0.0.1:43560 => /127.0.0.1:46866] FLUSH
17:12:23.338 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.338 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb8907cc4, /127.0.0.1:43560 => /127.0.0.1:46866] FLUSH
17:12:23.339 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb8907cc4, /127.0.0.1:43560 :> /127.0.0.1:46866] INACTIVE
17:12:23.339 [nioEventLoopGroup-118-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-118-1
17:12:23.339 [nioEventLoopGroup-116-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb8907cc4, /127.0.0.1:43560 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.339 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.344 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9fdd6163, /127.0.0.1:43562 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:23.346 [nioEventLoopGroup-116-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:23.346 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9fdd6163, /127.0.0.1:43562 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.346 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9fdd6163, /127.0.0.1:43562 => /127.0.0.1:46866] FLUSH
17:12:23.346 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.347 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9fdd6163, /127.0.0.1:43562 => /127.0.0.1:46866] FLUSH
17:12:23.347 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9fdd6163, /127.0.0.1:43562 :> /127.0.0.1:46866] INACTIVE
17:12:23.347 [nioEventLoopGroup-116-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9fdd6163, /127.0.0.1:43562 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.347 [nioEventLoopGroup-119-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-119-1
17:12:23.348 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.353 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d422183, /127.0.0.1:43566 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.354 [nioEventLoopGroup-116-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:23.354 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d422183, /127.0.0.1:43566 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.355 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d422183, /127.0.0.1:43566 => /127.0.0.1:46866] FLUSH
17:12:23.356 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.369 [nioEventLoopGroup-120-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-120-1
17:12:23.369 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d422183, /127.0.0.1:43566 => /127.0.0.1:46866] FLUSH
17:12:23.370 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d422183, /127.0.0.1:43566 :> /127.0.0.1:46866] INACTIVE
17:12:23.370 [nioEventLoopGroup-116-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d422183, /127.0.0.1:43566 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.370 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.375 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b8b863, /127.0.0.1:43568 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:23.376 [nioEventLoopGroup-116-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:23.377 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b8b863, /127.0.0.1:43568 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.377 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b8b863, /127.0.0.1:43568 => /127.0.0.1:46866] FLUSH
17:12:23.377 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.377 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b8b863, /127.0.0.1:43568 => /127.0.0.1:46866] FLUSH
17:12:23.378 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b8b863, /127.0.0.1:43568 :> /127.0.0.1:46866] INACTIVE
17:12:23.378 [nioEventLoopGroup-116-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58b8b863, /127.0.0.1:43568 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.378 [nioEventLoopGroup-121-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-121-1
17:12:23.380 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.384 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x978169f4, /127.0.0.1:43572 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:23.385 [nioEventLoopGroup-116-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:23.386 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x978169f4, /127.0.0.1:43572 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.386 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x978169f4, /127.0.0.1:43572 => /127.0.0.1:46866] FLUSH
17:12:23.387 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.387 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x978169f4, /127.0.0.1:43572 => /127.0.0.1:46866] FLUSH
17:12:23.388 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x978169f4, /127.0.0.1:43572 :> /127.0.0.1:46866] INACTIVE
17:12:23.388 [nioEventLoopGroup-122-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-122-1
17:12:23.388 [nioEventLoopGroup-116-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x978169f4, /127.0.0.1:43572 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.393 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.397 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2286a88d, /127.0.0.1:43576 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:23.398 [nioEventLoopGroup-116-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:23.398 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2286a88d, /127.0.0.1:43576 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.398 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2286a88d, /127.0.0.1:43576 => /127.0.0.1:46866] FLUSH
17:12:23.399 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.399 [nioEventLoopGroup-123-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-123-1
17:12:23.400 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2286a88d, /127.0.0.1:43576 => /127.0.0.1:46866] FLUSH
17:12:23.400 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2286a88d, /127.0.0.1:43576 :> /127.0.0.1:46866] INACTIVE
17:12:23.400 [nioEventLoopGroup-116-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2286a88d, /127.0.0.1:43576 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.408 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.411 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0f1b69de, /127.0.0.1:43582 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.412 [nioEventLoopGroup-116-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:23.413 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0f1b69de, /127.0.0.1:43582 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.413 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0f1b69de, /127.0.0.1:43582 => /127.0.0.1:46866] FLUSH
17:12:23.414 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.416 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.419 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0f1b69de, /127.0.0.1:43582 => /127.0.0.1:46866] FLUSH
17:12:23.419 [nioEventLoopGroup-124-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-124-1
17:12:23.419 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0f1b69de, /127.0.0.1:43582 :> /127.0.0.1:46866] INACTIVE
17:12:23.419 [nioEventLoopGroup-116-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0f1b69de, /127.0.0.1:43582 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.421 [nioEventLoopGroup-116-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72097de6, /127.0.0.1:43586 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.422 [nioEventLoopGroup-116-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:23.422 [nioEventLoopGroup-116-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72097de6, /127.0.0.1:43586 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.423 [nioEventLoopGroup-116-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72097de6, /127.0.0.1:43586 => /127.0.0.1:46866] FLUSH
17:12:23.423 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.423 [nioEventLoopGroup-125-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-125-1
17:12:23.423 [nioEventLoopGroup-116-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72097de6, /127.0.0.1:43586 => /127.0.0.1:46866] FLUSH
17:12:23.424 [nioEventLoopGroup-116-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72097de6, /127.0.0.1:43586 :> /127.0.0.1:46866] INACTIVE
17:12:23.424 [nioEventLoopGroup-116-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x72097de6, /127.0.0.1:43586 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.424 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.428 [nioEventLoopGroup-116-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4364ebfd, /127.0.0.1:43588 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.430 [nioEventLoopGroup-116-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:23.430 [nioEventLoopGroup-116-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4364ebfd, /127.0.0.1:43588 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.430 [nioEventLoopGroup-116-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4364ebfd, /127.0.0.1:43588 => /127.0.0.1:46866] FLUSH
17:12:23.431 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.431 [nioEventLoopGroup-116-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4364ebfd, /127.0.0.1:43588 => /127.0.0.1:46866] FLUSH
17:12:23.431 [nioEventLoopGroup-116-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4364ebfd, /127.0.0.1:43588 :> /127.0.0.1:46866] INACTIVE
17:12:23.431 [nioEventLoopGroup-116-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4364ebfd, /127.0.0.1:43588 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.431 [nioEventLoopGroup-126-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-126-1
17:12:23.432 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.434 [nioEventLoopGroup-84-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-84-14
17:12:23.439 [nioEventLoopGroup-116-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e4b4d2b, /127.0.0.1:43590 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.440 [nioEventLoopGroup-116-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:23.440 [nioEventLoopGroup-116-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e4b4d2b, /127.0.0.1:43590 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.440 [nioEventLoopGroup-116-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e4b4d2b, /127.0.0.1:43590 => /127.0.0.1:46866] FLUSH
17:12:23.441 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.441 [nioEventLoopGroup-127-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-127-1
17:12:23.441 [nioEventLoopGroup-116-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e4b4d2b, /127.0.0.1:43590 => /127.0.0.1:46866] FLUSH
17:12:23.442 [nioEventLoopGroup-116-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e4b4d2b, /127.0.0.1:43590 :> /127.0.0.1:46866] INACTIVE
17:12:23.442 [nioEventLoopGroup-116-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e4b4d2b, /127.0.0.1:43590 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.450 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.455 [nioEventLoopGroup-116-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc033605e, /127.0.0.1:43592 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:23.456 [nioEventLoopGroup-116-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:23.456 [nioEventLoopGroup-116-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc033605e, /127.0.0.1:43592 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.456 [nioEventLoopGroup-116-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc033605e, /127.0.0.1:43592 => /127.0.0.1:46866] FLUSH
17:12:23.457 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.457 [nioEventLoopGroup-128-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-128-1
17:12:23.457 [nioEventLoopGroup-116-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc033605e, /127.0.0.1:43592 => /127.0.0.1:46866] FLUSH
17:12:23.458 [nioEventLoopGroup-116-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc033605e, /127.0.0.1:43592 :> /127.0.0.1:46866] INACTIVE
17:12:23.458 [nioEventLoopGroup-116-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc033605e, /127.0.0.1:43592 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.458 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.462 [nioEventLoopGroup-116-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa386fc49, /127.0.0.1:43594 => /127.0.0.1:46866] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:23.463 [nioEventLoopGroup-116-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:23.465 [nioEventLoopGroup-116-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa386fc49, /127.0.0.1:43594 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.465 [nioEventLoopGroup-116-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa386fc49, /127.0.0.1:43594 => /127.0.0.1:46866] FLUSH
17:12:23.465 [nioEventLoopGroup-116-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa386fc49, /127.0.0.1:43594 => /127.0.0.1:46866] FLUSH
17:12:23.465 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.466 [nioEventLoopGroup-116-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa386fc49, /127.0.0.1:43594 :> /127.0.0.1:46866] INACTIVE
17:12:23.466 [nioEventLoopGroup-116-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa386fc49, /127.0.0.1:43594 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.466 [nioEventLoopGroup-129-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-129-1
17:12:23.470 [nioEventLoopGroup-116-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa545dbec, /127.0.0.1:43596 => /127.0.0.1:46866] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:46866
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:23.470 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.471 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.471 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:23.471 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.472 [nioEventLoopGroup-100-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c9a1da, /127.0.0.1:52080 :> /127.0.0.1:34618] FLUSH
17:12:23.472 [nioEventLoopGroup-100-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c9a1da, /127.0.0.1:52080 :> /127.0.0.1:34618] INACTIVE
17:12:23.472 [nioEventLoopGroup-100-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25c9a1da, /127.0.0.1:52080 :> /127.0.0.1:34618] UNREGISTERED
17:12:23.472 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.472 [nioEventLoopGroup-100-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-15
17:12:23.472 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.472 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.473 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.473 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.473 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.474 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:23.475 [nioEventLoopGroup-116-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:23.475 [nioEventLoopGroup-116-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa545dbec, /127.0.0.1:43596 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:23.475 [nioEventLoopGroup-116-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa545dbec, /127.0.0.1:43596 => /127.0.0.1:46866] FLUSH
17:12:23.481 [nioEventLoopGroup-116-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa545dbec, /127.0.0.1:43596 => /127.0.0.1:46866] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:46866
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:23.482 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.483 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.484 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:23.484 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.485 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.488 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.489 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.489 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.490 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.490 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:23.491 [nioEventLoopGroup-116-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:23.491 [nioEventLoopGroup-116-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46866" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:23.492 [nioEventLoopGroup-116-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa545dbec, /127.0.0.1:43596 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:23.492 [nioEventLoopGroup-116-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa545dbec, /127.0.0.1:43596 => /127.0.0.1:46866] FLUSH
17:12:23.496 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:23.498 [nioEventLoopGroup-116-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdeb4de11, /127.0.0.1:43602 => /127.0.0.1:46866] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:46866
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:23.499 [nioEventLoopGroup-116-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdeb4de11, /127.0.0.1:43602 => /127.0.0.1:46866] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.499 [nioEventLoopGroup-116-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdeb4de11, /127.0.0.1:43602 => /127.0.0.1:46866] FLUSH
17:12:23.500 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.500 [nioEventLoopGroup-116-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdeb4de11, /127.0.0.1:43602 => /127.0.0.1:46866] CLOSE()
17:12:23.501 [nioEventLoopGroup-130-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-130-1
17:12:23.506 [nioEventLoopGroup-116-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-5
17:12:23.506 [nioEventLoopGroup-116-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-1
17:12:23.506 [nioEventLoopGroup-116-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-9
17:12:23.506 [nioEventLoopGroup-116-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-2
17:12:23.506 [nioEventLoopGroup-116-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-11
17:12:23.507 [nioEventLoopGroup-116-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-3
17:12:23.507 [nioEventLoopGroup-116-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-6
17:12:23.507 [nioEventLoopGroup-116-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-12
17:12:23.507 [nioEventLoopGroup-116-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-7
17:12:23.507 [nioEventLoopGroup-116-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-10
17:12:23.507 [nioEventLoopGroup-116-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-8
17:12:23.507 [nioEventLoopGroup-116-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa545dbec, /127.0.0.1:43596 :> /127.0.0.1:46866] INACTIVE
17:12:23.508 [nioEventLoopGroup-116-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-13
17:12:23.508 [nioEventLoopGroup-116-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-4
17:12:23.509 [nioEventLoopGroup-116-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa545dbec, /127.0.0.1:43596 :> /127.0.0.1:46866] UNREGISTERED
17:12:23.858 [MockServer thread for port: 40654] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 40654
17:12:23.859 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.862 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5883c6ae, /127.0.0.1:36790 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:23.863 [nioEventLoopGroup-132-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:23.863 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5883c6ae, /127.0.0.1:36790 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.863 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5883c6ae, /127.0.0.1:36790 => /127.0.0.1:40654] FLUSH
17:12:23.863 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.863 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5883c6ae, /127.0.0.1:36790 => /127.0.0.1:40654] FLUSH
17:12:23.864 [nioEventLoopGroup-133-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-133-1
17:12:23.864 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5883c6ae, /127.0.0.1:36790 :> /127.0.0.1:40654] INACTIVE
17:12:23.864 [nioEventLoopGroup-132-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5883c6ae, /127.0.0.1:36790 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.865 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.868 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba839f7, /127.0.0.1:36792 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:23.870 [nioEventLoopGroup-132-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:23.870 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba839f7, /127.0.0.1:36792 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.871 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba839f7, /127.0.0.1:36792 => /127.0.0.1:40654] FLUSH
17:12:23.871 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.871 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba839f7, /127.0.0.1:36792 => /127.0.0.1:40654] FLUSH
17:12:23.871 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba839f7, /127.0.0.1:36792 :> /127.0.0.1:40654] INACTIVE
17:12:23.872 [nioEventLoopGroup-132-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaba839f7, /127.0.0.1:36792 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.872 [nioEventLoopGroup-134-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-134-1
17:12:23.874 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.881 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdffa663b, /127.0.0.1:36796 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:23.887 [nioEventLoopGroup-132-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:23.887 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdffa663b, /127.0.0.1:36796 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.887 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdffa663b, /127.0.0.1:36796 => /127.0.0.1:40654] FLUSH
17:12:23.888 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.888 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdffa663b, /127.0.0.1:36796 => /127.0.0.1:40654] FLUSH
17:12:23.888 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdffa663b, /127.0.0.1:36796 :> /127.0.0.1:40654] INACTIVE
17:12:23.888 [nioEventLoopGroup-135-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-135-1
17:12:23.888 [nioEventLoopGroup-132-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdffa663b, /127.0.0.1:36796 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.892 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.898 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fc7dea8, /127.0.0.1:36800 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.902 [nioEventLoopGroup-132-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:23.902 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fc7dea8, /127.0.0.1:36800 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.903 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fc7dea8, /127.0.0.1:36800 => /127.0.0.1:40654] FLUSH
17:12:23.903 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.904 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fc7dea8, /127.0.0.1:36800 => /127.0.0.1:40654] FLUSH
17:12:23.904 [nioEventLoopGroup-136-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-136-1
17:12:23.905 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.905 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fc7dea8, /127.0.0.1:36800 :> /127.0.0.1:40654] INACTIVE
17:12:23.905 [nioEventLoopGroup-132-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fc7dea8, /127.0.0.1:36800 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.909 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7614581, /127.0.0.1:36802 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:23.911 [nioEventLoopGroup-132-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:23.911 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7614581, /127.0.0.1:36802 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.911 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7614581, /127.0.0.1:36802 => /127.0.0.1:40654] FLUSH
17:12:23.912 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.912 [nioEventLoopGroup-137-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-137-1
17:12:23.912 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7614581, /127.0.0.1:36802 => /127.0.0.1:40654] FLUSH
17:12:23.914 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7614581, /127.0.0.1:36802 :> /127.0.0.1:40654] INACTIVE
17:12:23.914 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.914 [nioEventLoopGroup-132-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf7614581, /127.0.0.1:36802 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.920 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd14bd85, /127.0.0.1:36806 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:23.922 [nioEventLoopGroup-132-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:23.922 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd14bd85, /127.0.0.1:36806 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.922 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd14bd85, /127.0.0.1:36806 => /127.0.0.1:40654] FLUSH
17:12:23.923 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.925 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.925 [nioEventLoopGroup-138-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-138-1
17:12:23.926 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd14bd85, /127.0.0.1:36806 => /127.0.0.1:40654] FLUSH
17:12:23.926 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd14bd85, /127.0.0.1:36806 :> /127.0.0.1:40654] INACTIVE
17:12:23.926 [nioEventLoopGroup-132-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfd14bd85, /127.0.0.1:36806 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.929 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05905a6f, /127.0.0.1:36810 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:23.930 [nioEventLoopGroup-132-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:23.930 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05905a6f, /127.0.0.1:36810 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.931 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05905a6f, /127.0.0.1:36810 => /127.0.0.1:40654] FLUSH
17:12:23.931 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.932 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05905a6f, /127.0.0.1:36810 => /127.0.0.1:40654] FLUSH
17:12:23.932 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05905a6f, /127.0.0.1:36810 :> /127.0.0.1:40654] INACTIVE
17:12:23.932 [nioEventLoopGroup-132-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05905a6f, /127.0.0.1:36810 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.932 [nioEventLoopGroup-139-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-139-1
17:12:23.933 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.947 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef438009, /127.0.0.1:36812 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.949 [nioEventLoopGroup-132-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:23.950 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef438009, /127.0.0.1:36812 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.950 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef438009, /127.0.0.1:36812 => /127.0.0.1:40654] FLUSH
17:12:23.951 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.951 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef438009, /127.0.0.1:36812 => /127.0.0.1:40654] FLUSH
17:12:23.951 [nioEventLoopGroup-140-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-140-1
17:12:23.952 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef438009, /127.0.0.1:36812 :> /127.0.0.1:40654] INACTIVE
17:12:23.952 [nioEventLoopGroup-132-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xef438009, /127.0.0.1:36812 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.952 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.957 [nioEventLoopGroup-132-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2901716c, /127.0.0.1:36818 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.958 [nioEventLoopGroup-132-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:23.959 [nioEventLoopGroup-132-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2901716c, /127.0.0.1:36818 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.959 [nioEventLoopGroup-132-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2901716c, /127.0.0.1:36818 => /127.0.0.1:40654] FLUSH
17:12:23.960 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.962 [nioEventLoopGroup-141-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-141-1
17:12:23.962 [nioEventLoopGroup-132-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2901716c, /127.0.0.1:36818 => /127.0.0.1:40654] FLUSH
17:12:23.963 [nioEventLoopGroup-132-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2901716c, /127.0.0.1:36818 :> /127.0.0.1:40654] INACTIVE
17:12:23.963 [nioEventLoopGroup-132-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2901716c, /127.0.0.1:36818 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.964 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.970 [nioEventLoopGroup-132-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8a28e54, /127.0.0.1:36824 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.971 [nioEventLoopGroup-132-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:23.971 [nioEventLoopGroup-132-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8a28e54, /127.0.0.1:36824 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.972 [nioEventLoopGroup-132-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8a28e54, /127.0.0.1:36824 => /127.0.0.1:40654] FLUSH
17:12:23.973 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.973 [nioEventLoopGroup-100-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-100-14
17:12:23.973 [nioEventLoopGroup-142-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-142-1
17:12:23.973 [nioEventLoopGroup-132-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8a28e54, /127.0.0.1:36824 => /127.0.0.1:40654] FLUSH
17:12:23.974 [nioEventLoopGroup-132-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8a28e54, /127.0.0.1:36824 :> /127.0.0.1:40654] INACTIVE
17:12:23.974 [nioEventLoopGroup-132-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8a28e54, /127.0.0.1:36824 :> /127.0.0.1:40654] UNREGISTERED
17:12:23.975 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:23.980 [nioEventLoopGroup-132-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3147f2bf, /127.0.0.1:36828 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:23.982 [nioEventLoopGroup-132-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:23.982 [nioEventLoopGroup-132-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3147f2bf, /127.0.0.1:36828 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:23.983 [nioEventLoopGroup-132-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3147f2bf, /127.0.0.1:36828 => /127.0.0.1:40654] FLUSH
17:12:23.983 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:23.984 [nioEventLoopGroup-143-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-143-1
17:12:23.986 [nioEventLoopGroup-132-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3147f2bf, /127.0.0.1:36828 => /127.0.0.1:40654] FLUSH
17:12:23.987 [nioEventLoopGroup-132-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3147f2bf, /127.0.0.1:36828 :> /127.0.0.1:40654] INACTIVE
17:12:23.987 [nioEventLoopGroup-132-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3147f2bf, /127.0.0.1:36828 :> /127.0.0.1:40654] UNREGISTERED
17:12:24.003 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.039 [nioEventLoopGroup-116-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdeb4de11, /127.0.0.1:43602 :> /127.0.0.1:46866] FLUSH
17:12:24.039 [nioEventLoopGroup-116-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdeb4de11, /127.0.0.1:43602 :> /127.0.0.1:46866] INACTIVE
17:12:24.039 [nioEventLoopGroup-116-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdeb4de11, /127.0.0.1:43602 :> /127.0.0.1:46866] UNREGISTERED
17:12:24.039 [nioEventLoopGroup-116-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-15
17:12:24.050 [nioEventLoopGroup-132-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe76fed2c, /127.0.0.1:36844 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:24.052 [nioEventLoopGroup-132-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:24.052 [nioEventLoopGroup-132-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe76fed2c, /127.0.0.1:36844 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.053 [nioEventLoopGroup-132-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe76fed2c, /127.0.0.1:36844 => /127.0.0.1:40654] FLUSH
17:12:24.055 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.055 [nioEventLoopGroup-144-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-144-1
17:12:24.056 [nioEventLoopGroup-132-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe76fed2c, /127.0.0.1:36844 => /127.0.0.1:40654] FLUSH
17:12:24.057 [nioEventLoopGroup-132-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe76fed2c, /127.0.0.1:36844 :> /127.0.0.1:40654] INACTIVE
17:12:24.057 [nioEventLoopGroup-132-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe76fed2c, /127.0.0.1:36844 :> /127.0.0.1:40654] UNREGISTERED
17:12:24.060 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.069 [nioEventLoopGroup-132-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b751a30, /127.0.0.1:36848 => /127.0.0.1:40654] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:24.071 [nioEventLoopGroup-132-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:24.071 [nioEventLoopGroup-132-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b751a30, /127.0.0.1:36848 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.071 [nioEventLoopGroup-132-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b751a30, /127.0.0.1:36848 => /127.0.0.1:40654] FLUSH
17:12:24.072 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.073 [nioEventLoopGroup-145-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-145-1
17:12:24.073 [nioEventLoopGroup-132-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b751a30, /127.0.0.1:36848 => /127.0.0.1:40654] FLUSH
17:12:24.073 [nioEventLoopGroup-132-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b751a30, /127.0.0.1:36848 :> /127.0.0.1:40654] INACTIVE
17:12:24.073 [nioEventLoopGroup-132-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0b751a30, /127.0.0.1:36848 :> /127.0.0.1:40654] UNREGISTERED
17:12:24.085 [nioEventLoopGroup-132-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2a07844, /127.0.0.1:36850 => /127.0.0.1:40654] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:40654
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:24.086 [nioEventLoopGroup-132-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.087 [nioEventLoopGroup-132-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.089 [nioEventLoopGroup-132-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:24.090 [nioEventLoopGroup-132-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.090 [nioEventLoopGroup-132-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.091 [nioEventLoopGroup-132-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.091 [nioEventLoopGroup-132-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.092 [nioEventLoopGroup-132-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:24.092 [nioEventLoopGroup-132-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:24.092 [nioEventLoopGroup-132-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2a07844, /127.0.0.1:36850 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:24.092 [nioEventLoopGroup-132-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2a07844, /127.0.0.1:36850 => /127.0.0.1:40654] FLUSH
17:12:24.104 [nioEventLoopGroup-132-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf19584ef, /127.0.0.1:36856 => /127.0.0.1:40654] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:40654
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:24.105 [nioEventLoopGroup-132-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.106 [nioEventLoopGroup-132-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.107 [nioEventLoopGroup-132-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:24.108 [nioEventLoopGroup-132-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.109 [nioEventLoopGroup-132-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.110 [nioEventLoopGroup-132-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.111 [nioEventLoopGroup-132-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.112 [nioEventLoopGroup-132-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:24.114 [nioEventLoopGroup-132-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:40654" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:24.115 [nioEventLoopGroup-132-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf19584ef, /127.0.0.1:36856 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:24.115 [nioEventLoopGroup-132-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf19584ef, /127.0.0.1:36856 => /127.0.0.1:40654] FLUSH
17:12:24.116 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:24.121 [nioEventLoopGroup-132-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6169fcc1, /127.0.0.1:36858 => /127.0.0.1:40654] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:40654
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:24.122 [nioEventLoopGroup-132-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6169fcc1, /127.0.0.1:36858 => /127.0.0.1:40654] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.122 [nioEventLoopGroup-132-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6169fcc1, /127.0.0.1:36858 => /127.0.0.1:40654] FLUSH
17:12:24.123 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.123 [nioEventLoopGroup-146-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-146-1
17:12:24.123 [nioEventLoopGroup-132-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6169fcc1, /127.0.0.1:36858 => /127.0.0.1:40654] CLOSE()
17:12:24.131 [nioEventLoopGroup-132-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-4
17:12:24.132 [nioEventLoopGroup-132-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-2
17:12:24.132 [nioEventLoopGroup-132-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-1
17:12:24.132 [nioEventLoopGroup-132-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-5
17:12:24.132 [nioEventLoopGroup-132-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf19584ef, /127.0.0.1:36856 :> /127.0.0.1:40654] INACTIVE
17:12:24.132 [nioEventLoopGroup-132-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf19584ef, /127.0.0.1:36856 :> /127.0.0.1:40654] UNREGISTERED
17:12:24.132 [nioEventLoopGroup-132-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2a07844, /127.0.0.1:36850 :> /127.0.0.1:40654] INACTIVE
17:12:24.132 [nioEventLoopGroup-132-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-11
17:12:24.132 [nioEventLoopGroup-132-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd2a07844, /127.0.0.1:36850 :> /127.0.0.1:40654] UNREGISTERED
17:12:24.133 [nioEventLoopGroup-132-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-6
17:12:24.133 [nioEventLoopGroup-132-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-12
17:12:24.133 [nioEventLoopGroup-132-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-13
17:12:24.133 [nioEventLoopGroup-132-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-10
17:12:24.133 [nioEventLoopGroup-132-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-8
17:12:24.133 [nioEventLoopGroup-132-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-7
17:12:24.133 [nioEventLoopGroup-132-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-3
17:12:24.133 [nioEventLoopGroup-132-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-9
17:12:24.480 [MockServer thread for port: 41834] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 41834
17:12:24.480 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.485 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6e30397, /127.0.0.1:52628 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:24.486 [nioEventLoopGroup-148-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:24.487 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6e30397, /127.0.0.1:52628 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.487 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6e30397, /127.0.0.1:52628 => /127.0.0.1:41834] FLUSH
17:12:24.487 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.488 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6e30397, /127.0.0.1:52628 => /127.0.0.1:41834] FLUSH
17:12:24.488 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6e30397, /127.0.0.1:52628 :> /127.0.0.1:41834] INACTIVE
17:12:24.488 [nioEventLoopGroup-148-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6e30397, /127.0.0.1:52628 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.488 [nioEventLoopGroup-149-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-149-1
17:12:24.489 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.492 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04efb252, /127.0.0.1:52630 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:24.493 [nioEventLoopGroup-148-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:24.494 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04efb252, /127.0.0.1:52630 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.494 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04efb252, /127.0.0.1:52630 => /127.0.0.1:41834] FLUSH
17:12:24.495 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.495 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04efb252, /127.0.0.1:52630 => /127.0.0.1:41834] FLUSH
17:12:24.495 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04efb252, /127.0.0.1:52630 :> /127.0.0.1:41834] INACTIVE
17:12:24.495 [nioEventLoopGroup-148-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x04efb252, /127.0.0.1:52630 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.495 [nioEventLoopGroup-150-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-150-1
17:12:24.497 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.500 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7de6e61, /127.0.0.1:52632 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:24.501 [nioEventLoopGroup-148-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:24.501 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7de6e61, /127.0.0.1:52632 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.502 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7de6e61, /127.0.0.1:52632 => /127.0.0.1:41834] FLUSH
17:12:24.502 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.502 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7de6e61, /127.0.0.1:52632 => /127.0.0.1:41834] FLUSH
17:12:24.502 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7de6e61, /127.0.0.1:52632 :> /127.0.0.1:41834] INACTIVE
17:12:24.502 [nioEventLoopGroup-151-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-151-1
17:12:24.502 [nioEventLoopGroup-148-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc7de6e61, /127.0.0.1:52632 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.503 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.507 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3cc82f1, /127.0.0.1:52634 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:24.508 [nioEventLoopGroup-148-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:24.508 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3cc82f1, /127.0.0.1:52634 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.508 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3cc82f1, /127.0.0.1:52634 => /127.0.0.1:41834] FLUSH
17:12:24.509 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.509 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3cc82f1, /127.0.0.1:52634 => /127.0.0.1:41834] FLUSH
17:12:24.509 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3cc82f1, /127.0.0.1:52634 :> /127.0.0.1:41834] INACTIVE
17:12:24.509 [nioEventLoopGroup-148-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3cc82f1, /127.0.0.1:52634 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.509 [nioEventLoopGroup-152-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-152-1
17:12:24.510 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.510 [nioEventLoopGroup-116-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-116-14
17:12:24.512 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ee9bea4, /127.0.0.1:52636 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:24.513 [nioEventLoopGroup-148-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:24.513 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ee9bea4, /127.0.0.1:52636 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.513 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ee9bea4, /127.0.0.1:52636 => /127.0.0.1:41834] FLUSH
17:12:24.513 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ee9bea4, /127.0.0.1:52636 => /127.0.0.1:41834] FLUSH
17:12:24.513 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.514 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ee9bea4, /127.0.0.1:52636 :> /127.0.0.1:41834] INACTIVE
17:12:24.514 [nioEventLoopGroup-148-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ee9bea4, /127.0.0.1:52636 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.514 [nioEventLoopGroup-153-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-153-1
17:12:24.515 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.517 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c73ea03, /127.0.0.1:52638 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:24.518 [nioEventLoopGroup-148-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:24.519 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c73ea03, /127.0.0.1:52638 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.519 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c73ea03, /127.0.0.1:52638 => /127.0.0.1:41834] FLUSH
17:12:24.519 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.519 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c73ea03, /127.0.0.1:52638 => /127.0.0.1:41834] FLUSH
17:12:24.519 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c73ea03, /127.0.0.1:52638 :> /127.0.0.1:41834] INACTIVE
17:12:24.519 [nioEventLoopGroup-148-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c73ea03, /127.0.0.1:52638 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.519 [nioEventLoopGroup-154-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-154-1
17:12:24.520 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.523 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4566c722, /127.0.0.1:52640 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:24.524 [nioEventLoopGroup-148-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:24.524 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4566c722, /127.0.0.1:52640 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.524 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4566c722, /127.0.0.1:52640 => /127.0.0.1:41834] FLUSH
17:12:24.525 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.525 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4566c722, /127.0.0.1:52640 => /127.0.0.1:41834] FLUSH
17:12:24.525 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4566c722, /127.0.0.1:52640 :> /127.0.0.1:41834] INACTIVE
17:12:24.525 [nioEventLoopGroup-148-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4566c722, /127.0.0.1:52640 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.525 [nioEventLoopGroup-155-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-155-1
17:12:24.526 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.528 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75746a05, /127.0.0.1:52642 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:24.529 [nioEventLoopGroup-148-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:24.529 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75746a05, /127.0.0.1:52642 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.529 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75746a05, /127.0.0.1:52642 => /127.0.0.1:41834] FLUSH
17:12:24.530 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75746a05, /127.0.0.1:52642 => /127.0.0.1:41834] FLUSH
17:12:24.529 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.530 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75746a05, /127.0.0.1:52642 :> /127.0.0.1:41834] INACTIVE
17:12:24.530 [nioEventLoopGroup-156-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-156-1
17:12:24.530 [nioEventLoopGroup-148-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75746a05, /127.0.0.1:52642 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.531 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.533 [nioEventLoopGroup-148-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78015885, /127.0.0.1:52644 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:24.534 [nioEventLoopGroup-148-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:24.534 [nioEventLoopGroup-148-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78015885, /127.0.0.1:52644 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.534 [nioEventLoopGroup-148-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78015885, /127.0.0.1:52644 => /127.0.0.1:41834] FLUSH
17:12:24.535 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.535 [nioEventLoopGroup-148-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78015885, /127.0.0.1:52644 => /127.0.0.1:41834] FLUSH
17:12:24.535 [nioEventLoopGroup-157-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-157-1
17:12:24.536 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.536 [nioEventLoopGroup-148-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78015885, /127.0.0.1:52644 :> /127.0.0.1:41834] INACTIVE
17:12:24.536 [nioEventLoopGroup-148-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78015885, /127.0.0.1:52644 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.539 [nioEventLoopGroup-148-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2258b1ca, /127.0.0.1:52646 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:24.539 [nioEventLoopGroup-148-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:24.540 [nioEventLoopGroup-148-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2258b1ca, /127.0.0.1:52646 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.540 [nioEventLoopGroup-148-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2258b1ca, /127.0.0.1:52646 => /127.0.0.1:41834] FLUSH
17:12:24.540 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.540 [nioEventLoopGroup-148-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2258b1ca, /127.0.0.1:52646 => /127.0.0.1:41834] FLUSH
17:12:24.540 [nioEventLoopGroup-148-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2258b1ca, /127.0.0.1:52646 :> /127.0.0.1:41834] INACTIVE
17:12:24.540 [nioEventLoopGroup-158-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-158-1
17:12:24.540 [nioEventLoopGroup-148-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2258b1ca, /127.0.0.1:52646 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.541 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.544 [nioEventLoopGroup-148-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6306f090, /127.0.0.1:52648 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:24.545 [nioEventLoopGroup-148-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:24.546 [nioEventLoopGroup-148-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6306f090, /127.0.0.1:52648 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.546 [nioEventLoopGroup-148-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6306f090, /127.0.0.1:52648 => /127.0.0.1:41834] FLUSH
17:12:24.546 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.546 [nioEventLoopGroup-148-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6306f090, /127.0.0.1:52648 => /127.0.0.1:41834] FLUSH
17:12:24.546 [nioEventLoopGroup-148-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6306f090, /127.0.0.1:52648 :> /127.0.0.1:41834] INACTIVE
17:12:24.546 [nioEventLoopGroup-148-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6306f090, /127.0.0.1:52648 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.546 [nioEventLoopGroup-159-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-159-1
17:12:24.547 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.550 [nioEventLoopGroup-148-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3f680d3, /127.0.0.1:52650 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:24.551 [nioEventLoopGroup-148-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:24.551 [nioEventLoopGroup-148-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3f680d3, /127.0.0.1:52650 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.551 [nioEventLoopGroup-148-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3f680d3, /127.0.0.1:52650 => /127.0.0.1:41834] FLUSH
17:12:24.552 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.552 [nioEventLoopGroup-148-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3f680d3, /127.0.0.1:52650 => /127.0.0.1:41834] FLUSH
17:12:24.552 [nioEventLoopGroup-148-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3f680d3, /127.0.0.1:52650 :> /127.0.0.1:41834] INACTIVE
17:12:24.552 [nioEventLoopGroup-148-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb3f680d3, /127.0.0.1:52650 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.552 [nioEventLoopGroup-160-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-160-1
17:12:24.553 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.556 [nioEventLoopGroup-148-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa72da897, /127.0.0.1:52652 => /127.0.0.1:41834] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:24.557 [nioEventLoopGroup-148-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:24.558 [nioEventLoopGroup-148-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa72da897, /127.0.0.1:52652 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.558 [nioEventLoopGroup-148-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa72da897, /127.0.0.1:52652 => /127.0.0.1:41834] FLUSH
17:12:24.558 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.558 [nioEventLoopGroup-148-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa72da897, /127.0.0.1:52652 => /127.0.0.1:41834] FLUSH
17:12:24.558 [nioEventLoopGroup-148-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa72da897, /127.0.0.1:52652 :> /127.0.0.1:41834] INACTIVE
17:12:24.558 [nioEventLoopGroup-148-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa72da897, /127.0.0.1:52652 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.559 [nioEventLoopGroup-161-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-161-1
17:12:24.566 [nioEventLoopGroup-148-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded6fce4, /127.0.0.1:52656 => /127.0.0.1:41834] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:41834
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:24.567 [nioEventLoopGroup-148-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.568 [nioEventLoopGroup-148-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.568 [nioEventLoopGroup-148-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:24.568 [nioEventLoopGroup-148-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.568 [nioEventLoopGroup-148-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.569 [nioEventLoopGroup-148-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.569 [nioEventLoopGroup-148-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.570 [nioEventLoopGroup-148-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.570 [nioEventLoopGroup-148-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:24.570 [nioEventLoopGroup-148-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:24.571 [nioEventLoopGroup-148-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded6fce4, /127.0.0.1:52656 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:24.571 [nioEventLoopGroup-148-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded6fce4, /127.0.0.1:52656 => /127.0.0.1:41834] FLUSH
17:12:24.580 [nioEventLoopGroup-148-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25371731, /127.0.0.1:52664 => /127.0.0.1:41834] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:41834
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:24.581 [nioEventLoopGroup-148-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.582 [nioEventLoopGroup-148-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.583 [nioEventLoopGroup-148-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:24.585 [nioEventLoopGroup-148-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.586 [nioEventLoopGroup-148-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.587 [nioEventLoopGroup-148-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.588 [nioEventLoopGroup-148-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.590 [nioEventLoopGroup-148-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:24.591 [nioEventLoopGroup-148-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:24.593 [nioEventLoopGroup-148-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:41834" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:24.593 [nioEventLoopGroup-148-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25371731, /127.0.0.1:52664 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:24.593 [nioEventLoopGroup-148-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25371731, /127.0.0.1:52664 => /127.0.0.1:41834] FLUSH
17:12:24.594 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:24.604 [nioEventLoopGroup-148-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51564cd3, /127.0.0.1:52672 => /127.0.0.1:41834] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:41834
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:24.604 [nioEventLoopGroup-148-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51564cd3, /127.0.0.1:52672 => /127.0.0.1:41834] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.604 [nioEventLoopGroup-148-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51564cd3, /127.0.0.1:52672 => /127.0.0.1:41834] FLUSH
17:12:24.605 [nioEventLoopGroup-148-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51564cd3, /127.0.0.1:52672 => /127.0.0.1:41834] CLOSE()
17:12:24.605 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.606 [nioEventLoopGroup-162-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-162-1
17:12:24.608 [nioEventLoopGroup-148-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25371731, /127.0.0.1:52664 :> /127.0.0.1:41834] INACTIVE
17:12:24.608 [nioEventLoopGroup-148-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x25371731, /127.0.0.1:52664 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.608 [nioEventLoopGroup-148-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-13
17:12:24.608 [nioEventLoopGroup-148-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-9
17:12:24.608 [nioEventLoopGroup-148-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-7
17:12:24.609 [nioEventLoopGroup-148-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-6
17:12:24.607 [nioEventLoopGroup-148-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-11
17:12:24.607 [nioEventLoopGroup-148-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-8
17:12:24.607 [nioEventLoopGroup-148-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-1
17:12:24.609 [nioEventLoopGroup-148-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-4
17:12:24.609 [nioEventLoopGroup-148-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded6fce4, /127.0.0.1:52656 :> /127.0.0.1:41834] INACTIVE
17:12:24.607 [nioEventLoopGroup-148-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-2
17:12:24.609 [nioEventLoopGroup-148-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-5
17:12:24.609 [nioEventLoopGroup-148-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-12
17:12:24.609 [nioEventLoopGroup-148-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-10
17:12:24.609 [nioEventLoopGroup-148-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-3
17:12:24.609 [nioEventLoopGroup-148-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded6fce4, /127.0.0.1:52656 :> /127.0.0.1:41834] UNREGISTERED
17:12:24.628 [nioEventLoopGroup-132-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6169fcc1, /127.0.0.1:36858 :> /127.0.0.1:40654] FLUSH
17:12:24.629 [nioEventLoopGroup-132-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6169fcc1, /127.0.0.1:36858 :> /127.0.0.1:40654] INACTIVE
17:12:24.629 [nioEventLoopGroup-132-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6169fcc1, /127.0.0.1:36858 :> /127.0.0.1:40654] UNREGISTERED
17:12:24.629 [nioEventLoopGroup-132-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-16
17:12:24.963 [MockServer thread for port: 34855] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 34855
17:12:24.963 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.969 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1545d51, /127.0.0.1:39948 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:24.970 [nioEventLoopGroup-164-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:24.971 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1545d51, /127.0.0.1:39948 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.971 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1545d51, /127.0.0.1:39948 => /127.0.0.1:34855] FLUSH
17:12:24.971 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.972 [nioEventLoopGroup-165-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-165-1
17:12:24.972 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1545d51, /127.0.0.1:39948 => /127.0.0.1:34855] FLUSH
17:12:24.972 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1545d51, /127.0.0.1:39948 :> /127.0.0.1:34855] INACTIVE
17:12:24.972 [nioEventLoopGroup-164-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1545d51, /127.0.0.1:39948 :> /127.0.0.1:34855] UNREGISTERED
17:12:24.973 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.976 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bf18cbc, /127.0.0.1:39952 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:24.978 [nioEventLoopGroup-164-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:24.978 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bf18cbc, /127.0.0.1:39952 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.978 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bf18cbc, /127.0.0.1:39952 => /127.0.0.1:34855] FLUSH
17:12:24.979 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.979 [nioEventLoopGroup-166-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-166-1
17:12:24.980 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bf18cbc, /127.0.0.1:39952 => /127.0.0.1:34855] FLUSH
17:12:24.980 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bf18cbc, /127.0.0.1:39952 :> /127.0.0.1:34855] INACTIVE
17:12:24.980 [nioEventLoopGroup-164-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4bf18cbc, /127.0.0.1:39952 :> /127.0.0.1:34855] UNREGISTERED
17:12:24.982 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.984 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041bdf3e, /127.0.0.1:39954 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:24.985 [nioEventLoopGroup-164-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:24.986 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041bdf3e, /127.0.0.1:39954 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.986 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041bdf3e, /127.0.0.1:39954 => /127.0.0.1:34855] FLUSH
17:12:24.986 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.986 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041bdf3e, /127.0.0.1:39954 => /127.0.0.1:34855] FLUSH
17:12:24.986 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041bdf3e, /127.0.0.1:39954 :> /127.0.0.1:34855] INACTIVE
17:12:24.986 [nioEventLoopGroup-164-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x041bdf3e, /127.0.0.1:39954 :> /127.0.0.1:34855] UNREGISTERED
17:12:24.986 [nioEventLoopGroup-167-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-167-1
17:12:24.988 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.990 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf343d79d, /127.0.0.1:39957 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:24.991 [nioEventLoopGroup-164-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:24.991 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf343d79d, /127.0.0.1:39957 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.991 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf343d79d, /127.0.0.1:39957 => /127.0.0.1:34855] FLUSH
17:12:24.992 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.992 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf343d79d, /127.0.0.1:39957 => /127.0.0.1:34855] FLUSH
17:12:24.992 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf343d79d, /127.0.0.1:39957 :> /127.0.0.1:34855] INACTIVE
17:12:24.992 [nioEventLoopGroup-164-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf343d79d, /127.0.0.1:39957 :> /127.0.0.1:34855] UNREGISTERED
17:12:24.993 [nioEventLoopGroup-168-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-168-1
17:12:24.993 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:24.996 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21c3dd, /127.0.0.1:39958 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:24.997 [nioEventLoopGroup-164-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:24.997 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21c3dd, /127.0.0.1:39958 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:24.997 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21c3dd, /127.0.0.1:39958 => /127.0.0.1:34855] FLUSH
17:12:24.998 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:24.998 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21c3dd, /127.0.0.1:39958 => /127.0.0.1:34855] FLUSH
17:12:24.998 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21c3dd, /127.0.0.1:39958 :> /127.0.0.1:34855] INACTIVE
17:12:24.998 [nioEventLoopGroup-164-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb21c3dd, /127.0.0.1:39958 :> /127.0.0.1:34855] UNREGISTERED
17:12:24.998 [nioEventLoopGroup-169-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-169-1
17:12:25.000 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.003 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe82302f, /127.0.0.1:39960 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:25.004 [nioEventLoopGroup-164-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:25.005 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe82302f, /127.0.0.1:39960 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.005 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe82302f, /127.0.0.1:39960 => /127.0.0.1:34855] FLUSH
17:12:25.005 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.005 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe82302f, /127.0.0.1:39960 => /127.0.0.1:34855] FLUSH
17:12:25.005 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe82302f, /127.0.0.1:39960 :> /127.0.0.1:34855] INACTIVE
17:12:25.006 [nioEventLoopGroup-164-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbe82302f, /127.0.0.1:39960 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.006 [nioEventLoopGroup-170-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-170-1
17:12:25.007 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.009 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18ba7c4d, /127.0.0.1:39962 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:25.010 [nioEventLoopGroup-164-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:25.011 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18ba7c4d, /127.0.0.1:39962 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.011 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18ba7c4d, /127.0.0.1:39962 => /127.0.0.1:34855] FLUSH
17:12:25.011 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.011 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18ba7c4d, /127.0.0.1:39962 => /127.0.0.1:34855] FLUSH
17:12:25.011 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18ba7c4d, /127.0.0.1:39962 :> /127.0.0.1:34855] INACTIVE
17:12:25.012 [nioEventLoopGroup-164-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x18ba7c4d, /127.0.0.1:39962 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.012 [nioEventLoopGroup-171-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-171-1
17:12:25.012 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.016 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24cba7e8, /127.0.0.1:39964 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.017 [nioEventLoopGroup-164-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:25.017 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24cba7e8, /127.0.0.1:39964 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.017 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24cba7e8, /127.0.0.1:39964 => /127.0.0.1:34855] FLUSH
17:12:25.018 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24cba7e8, /127.0.0.1:39964 => /127.0.0.1:34855] FLUSH
17:12:25.018 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.018 [nioEventLoopGroup-172-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-172-1
17:12:25.018 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24cba7e8, /127.0.0.1:39964 :> /127.0.0.1:34855] INACTIVE
17:12:25.018 [nioEventLoopGroup-164-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24cba7e8, /127.0.0.1:39964 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.020 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.023 [nioEventLoopGroup-164-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb805f08, /127.0.0.1:39966 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.024 [nioEventLoopGroup-164-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:25.024 [nioEventLoopGroup-164-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb805f08, /127.0.0.1:39966 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.025 [nioEventLoopGroup-164-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb805f08, /127.0.0.1:39966 => /127.0.0.1:34855] FLUSH
17:12:25.025 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.025 [nioEventLoopGroup-164-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb805f08, /127.0.0.1:39966 => /127.0.0.1:34855] FLUSH
17:12:25.025 [nioEventLoopGroup-164-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb805f08, /127.0.0.1:39966 :> /127.0.0.1:34855] INACTIVE
17:12:25.025 [nioEventLoopGroup-173-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-173-1
17:12:25.025 [nioEventLoopGroup-164-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb805f08, /127.0.0.1:39966 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.026 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.028 [nioEventLoopGroup-164-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc077fd96, /127.0.0.1:39968 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.029 [nioEventLoopGroup-164-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:25.029 [nioEventLoopGroup-164-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc077fd96, /127.0.0.1:39968 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.030 [nioEventLoopGroup-164-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc077fd96, /127.0.0.1:39968 => /127.0.0.1:34855] FLUSH
17:12:25.030 [nioEventLoopGroup-164-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc077fd96, /127.0.0.1:39968 => /127.0.0.1:34855] FLUSH
17:12:25.030 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.030 [nioEventLoopGroup-174-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-174-1
17:12:25.030 [nioEventLoopGroup-164-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc077fd96, /127.0.0.1:39968 :> /127.0.0.1:34855] INACTIVE
17:12:25.030 [nioEventLoopGroup-164-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc077fd96, /127.0.0.1:39968 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.031 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.035 [nioEventLoopGroup-164-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x906a3969, /127.0.0.1:39970 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.036 [nioEventLoopGroup-164-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:25.037 [nioEventLoopGroup-164-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x906a3969, /127.0.0.1:39970 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.037 [nioEventLoopGroup-164-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x906a3969, /127.0.0.1:39970 => /127.0.0.1:34855] FLUSH
17:12:25.037 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.037 [nioEventLoopGroup-164-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x906a3969, /127.0.0.1:39970 => /127.0.0.1:34855] FLUSH
17:12:25.038 [nioEventLoopGroup-164-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x906a3969, /127.0.0.1:39970 :> /127.0.0.1:34855] INACTIVE
17:12:25.038 [nioEventLoopGroup-175-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-175-1
17:12:25.038 [nioEventLoopGroup-164-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x906a3969, /127.0.0.1:39970 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.039 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.042 [nioEventLoopGroup-164-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d887482, /127.0.0.1:39972 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:25.044 [nioEventLoopGroup-164-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:25.044 [nioEventLoopGroup-164-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d887482, /127.0.0.1:39972 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.044 [nioEventLoopGroup-164-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d887482, /127.0.0.1:39972 => /127.0.0.1:34855] FLUSH
17:12:25.044 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.044 [nioEventLoopGroup-164-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d887482, /127.0.0.1:39972 => /127.0.0.1:34855] FLUSH
17:12:25.045 [nioEventLoopGroup-164-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d887482, /127.0.0.1:39972 :> /127.0.0.1:34855] INACTIVE
17:12:25.045 [nioEventLoopGroup-164-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d887482, /127.0.0.1:39972 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.045 [nioEventLoopGroup-176-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-176-1
17:12:25.046 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.049 [nioEventLoopGroup-164-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4faf56d, /127.0.0.1:39974 => /127.0.0.1:34855] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:25.051 [nioEventLoopGroup-164-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:25.051 [nioEventLoopGroup-164-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4faf56d, /127.0.0.1:39974 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.051 [nioEventLoopGroup-164-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4faf56d, /127.0.0.1:39974 => /127.0.0.1:34855] FLUSH
17:12:25.052 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.052 [nioEventLoopGroup-177-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-177-1
17:12:25.052 [nioEventLoopGroup-164-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4faf56d, /127.0.0.1:39974 => /127.0.0.1:34855] FLUSH
17:12:25.052 [nioEventLoopGroup-164-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4faf56d, /127.0.0.1:39974 :> /127.0.0.1:34855] INACTIVE
17:12:25.052 [nioEventLoopGroup-164-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe4faf56d, /127.0.0.1:39974 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.063 [nioEventLoopGroup-164-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x652c79d2, /127.0.0.1:39976 => /127.0.0.1:34855] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:34855
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:25.064 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.065 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.065 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:25.065 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.066 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.066 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.066 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.066 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.066 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.067 [nioEventLoopGroup-164-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:25.067 [nioEventLoopGroup-164-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:25.067 [nioEventLoopGroup-164-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x652c79d2, /127.0.0.1:39976 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:25.067 [nioEventLoopGroup-164-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x652c79d2, /127.0.0.1:39976 => /127.0.0.1:34855] FLUSH
17:12:25.074 [nioEventLoopGroup-164-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x449f57bd, /127.0.0.1:39978 => /127.0.0.1:34855] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:34855
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:25.075 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.075 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.075 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:25.075 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.076 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.076 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.076 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.076 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.077 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.077 [nioEventLoopGroup-164-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:25.077 [nioEventLoopGroup-164-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34855" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:25.077 [nioEventLoopGroup-164-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x449f57bd, /127.0.0.1:39978 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:25.077 [nioEventLoopGroup-164-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x449f57bd, /127.0.0.1:39978 => /127.0.0.1:34855] FLUSH
17:12:25.078 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:25.081 [nioEventLoopGroup-164-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf420bc2f, /127.0.0.1:39980 => /127.0.0.1:34855] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:34855
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:25.081 [nioEventLoopGroup-164-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf420bc2f, /127.0.0.1:39980 => /127.0.0.1:34855] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.081 [nioEventLoopGroup-164-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf420bc2f, /127.0.0.1:39980 => /127.0.0.1:34855] FLUSH
17:12:25.082 [nioEventLoopGroup-164-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf420bc2f, /127.0.0.1:39980 => /127.0.0.1:34855] CLOSE()
17:12:25.082 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.082 [nioEventLoopGroup-178-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-178-1
17:12:25.085 [nioEventLoopGroup-164-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-12
17:12:25.085 [nioEventLoopGroup-164-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-2
17:12:25.085 [nioEventLoopGroup-164-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-7
17:12:25.085 [nioEventLoopGroup-164-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-1
17:12:25.085 [nioEventLoopGroup-164-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-8
17:12:25.085 [nioEventLoopGroup-164-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-10
17:12:25.085 [nioEventLoopGroup-164-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-4
17:12:25.085 [nioEventLoopGroup-164-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-5
17:12:25.085 [nioEventLoopGroup-164-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x652c79d2, /127.0.0.1:39976 :> /127.0.0.1:34855] INACTIVE
17:12:25.085 [nioEventLoopGroup-164-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-6
17:12:25.085 [nioEventLoopGroup-164-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-9
17:12:25.085 [nioEventLoopGroup-164-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x449f57bd, /127.0.0.1:39978 :> /127.0.0.1:34855] INACTIVE
17:12:25.085 [nioEventLoopGroup-164-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-11
17:12:25.085 [nioEventLoopGroup-164-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-13
17:12:25.085 [nioEventLoopGroup-164-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-3
17:12:25.086 [nioEventLoopGroup-164-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x652c79d2, /127.0.0.1:39976 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.086 [nioEventLoopGroup-164-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x449f57bd, /127.0.0.1:39978 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.107 [nioEventLoopGroup-148-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51564cd3, /127.0.0.1:52672 :> /127.0.0.1:41834] FLUSH
17:12:25.108 [nioEventLoopGroup-148-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51564cd3, /127.0.0.1:52672 :> /127.0.0.1:41834] INACTIVE
17:12:25.108 [nioEventLoopGroup-148-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x51564cd3, /127.0.0.1:52672 :> /127.0.0.1:41834] UNREGISTERED
17:12:25.108 [nioEventLoopGroup-148-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-16
17:12:25.133 [nioEventLoopGroup-132-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-15
17:12:25.133 [nioEventLoopGroup-132-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-132-14
17:12:25.439 [MockServer thread for port: 34694] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 34694
17:12:25.439 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.442 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1771389f, /127.0.0.1:49862 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:25.444 [nioEventLoopGroup-180-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:25.444 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1771389f, /127.0.0.1:49862 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.444 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1771389f, /127.0.0.1:49862 => /127.0.0.1:34694] FLUSH
17:12:25.445 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.445 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1771389f, /127.0.0.1:49862 => /127.0.0.1:34694] FLUSH
17:12:25.445 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1771389f, /127.0.0.1:49862 :> /127.0.0.1:34694] INACTIVE
17:12:25.445 [nioEventLoopGroup-180-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1771389f, /127.0.0.1:49862 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.445 [nioEventLoopGroup-181-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-181-1
17:12:25.446 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.449 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe079aabe, /127.0.0.1:49864 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:25.450 [nioEventLoopGroup-180-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:25.451 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe079aabe, /127.0.0.1:49864 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.451 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe079aabe, /127.0.0.1:49864 => /127.0.0.1:34694] FLUSH
17:12:25.451 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.451 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe079aabe, /127.0.0.1:49864 => /127.0.0.1:34694] FLUSH
17:12:25.451 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe079aabe, /127.0.0.1:49864 :> /127.0.0.1:34694] INACTIVE
17:12:25.451 [nioEventLoopGroup-180-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe079aabe, /127.0.0.1:49864 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.451 [nioEventLoopGroup-182-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-182-1
17:12:25.452 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.455 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e562f5, /127.0.0.1:49866 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:25.456 [nioEventLoopGroup-180-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:25.456 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e562f5, /127.0.0.1:49866 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.456 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e562f5, /127.0.0.1:49866 => /127.0.0.1:34694] FLUSH
17:12:25.456 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e562f5, /127.0.0.1:49866 => /127.0.0.1:34694] FLUSH
17:12:25.456 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.456 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e562f5, /127.0.0.1:49866 :> /127.0.0.1:34694] INACTIVE
17:12:25.456 [nioEventLoopGroup-180-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x03e562f5, /127.0.0.1:49866 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.456 [nioEventLoopGroup-183-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-183-1
17:12:25.457 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.461 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43ac4a6d, /127.0.0.1:49868 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.462 [nioEventLoopGroup-180-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:25.462 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43ac4a6d, /127.0.0.1:49868 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.462 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43ac4a6d, /127.0.0.1:49868 => /127.0.0.1:34694] FLUSH
17:12:25.462 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.463 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43ac4a6d, /127.0.0.1:49868 => /127.0.0.1:34694] FLUSH
17:12:25.463 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43ac4a6d, /127.0.0.1:49868 :> /127.0.0.1:34694] INACTIVE
17:12:25.463 [nioEventLoopGroup-180-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43ac4a6d, /127.0.0.1:49868 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.463 [nioEventLoopGroup-184-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-184-1
17:12:25.464 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.467 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc7b201b, /127.0.0.1:49870 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:25.468 [nioEventLoopGroup-180-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:25.469 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc7b201b, /127.0.0.1:49870 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.469 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc7b201b, /127.0.0.1:49870 => /127.0.0.1:34694] FLUSH
17:12:25.469 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.469 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc7b201b, /127.0.0.1:49870 => /127.0.0.1:34694] FLUSH
17:12:25.470 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc7b201b, /127.0.0.1:49870 :> /127.0.0.1:34694] INACTIVE
17:12:25.470 [nioEventLoopGroup-180-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc7b201b, /127.0.0.1:49870 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.470 [nioEventLoopGroup-185-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-185-1
17:12:25.471 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.488 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33e1a36f, /127.0.0.1:49872 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:25.489 [nioEventLoopGroup-180-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:25.489 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33e1a36f, /127.0.0.1:49872 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.489 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33e1a36f, /127.0.0.1:49872 => /127.0.0.1:34694] FLUSH
17:12:25.489 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.489 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33e1a36f, /127.0.0.1:49872 => /127.0.0.1:34694] FLUSH
17:12:25.490 [nioEventLoopGroup-186-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-186-1
17:12:25.490 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33e1a36f, /127.0.0.1:49872 :> /127.0.0.1:34694] INACTIVE
17:12:25.490 [nioEventLoopGroup-180-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33e1a36f, /127.0.0.1:49872 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.490 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.493 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63e93b83, /127.0.0.1:49874 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:25.493 [nioEventLoopGroup-180-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:25.494 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63e93b83, /127.0.0.1:49874 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.494 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63e93b83, /127.0.0.1:49874 => /127.0.0.1:34694] FLUSH
17:12:25.494 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63e93b83, /127.0.0.1:49874 => /127.0.0.1:34694] FLUSH
17:12:25.494 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.494 [nioEventLoopGroup-187-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-187-1
17:12:25.494 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63e93b83, /127.0.0.1:49874 :> /127.0.0.1:34694] INACTIVE
17:12:25.494 [nioEventLoopGroup-180-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63e93b83, /127.0.0.1:49874 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.495 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.497 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69c31295, /127.0.0.1:49876 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.498 [nioEventLoopGroup-180-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:25.498 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69c31295, /127.0.0.1:49876 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.498 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69c31295, /127.0.0.1:49876 => /127.0.0.1:34694] FLUSH
17:12:25.499 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.499 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69c31295, /127.0.0.1:49876 => /127.0.0.1:34694] FLUSH
17:12:25.499 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69c31295, /127.0.0.1:49876 :> /127.0.0.1:34694] INACTIVE
17:12:25.499 [nioEventLoopGroup-188-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-188-1
17:12:25.500 [nioEventLoopGroup-180-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69c31295, /127.0.0.1:49876 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.500 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.503 [nioEventLoopGroup-180-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb900640d, /127.0.0.1:49878 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.504 [nioEventLoopGroup-180-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:25.505 [nioEventLoopGroup-180-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb900640d, /127.0.0.1:49878 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.505 [nioEventLoopGroup-180-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb900640d, /127.0.0.1:49878 => /127.0.0.1:34694] FLUSH
17:12:25.506 [nioEventLoopGroup-180-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb900640d, /127.0.0.1:49878 => /127.0.0.1:34694] FLUSH
17:12:25.505 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.506 [nioEventLoopGroup-189-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-189-1
17:12:25.506 [nioEventLoopGroup-180-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb900640d, /127.0.0.1:49878 :> /127.0.0.1:34694] INACTIVE
17:12:25.506 [nioEventLoopGroup-180-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb900640d, /127.0.0.1:49878 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.507 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.510 [nioEventLoopGroup-180-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75d28b66, /127.0.0.1:49880 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.510 [nioEventLoopGroup-180-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:25.511 [nioEventLoopGroup-180-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75d28b66, /127.0.0.1:49880 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.511 [nioEventLoopGroup-180-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75d28b66, /127.0.0.1:49880 => /127.0.0.1:34694] FLUSH
17:12:25.511 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.511 [nioEventLoopGroup-180-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75d28b66, /127.0.0.1:49880 => /127.0.0.1:34694] FLUSH
17:12:25.511 [nioEventLoopGroup-180-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75d28b66, /127.0.0.1:49880 :> /127.0.0.1:34694] INACTIVE
17:12:25.511 [nioEventLoopGroup-180-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75d28b66, /127.0.0.1:49880 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.511 [nioEventLoopGroup-190-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-190-1
17:12:25.512 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.514 [nioEventLoopGroup-180-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a624caa, /127.0.0.1:49882 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.515 [nioEventLoopGroup-180-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:25.515 [nioEventLoopGroup-180-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a624caa, /127.0.0.1:49882 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.516 [nioEventLoopGroup-180-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a624caa, /127.0.0.1:49882 => /127.0.0.1:34694] FLUSH
17:12:25.516 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.516 [nioEventLoopGroup-180-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a624caa, /127.0.0.1:49882 => /127.0.0.1:34694] FLUSH
17:12:25.516 [nioEventLoopGroup-180-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a624caa, /127.0.0.1:49882 :> /127.0.0.1:34694] INACTIVE
17:12:25.516 [nioEventLoopGroup-180-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a624caa, /127.0.0.1:49882 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.516 [nioEventLoopGroup-191-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-191-1
17:12:25.517 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.519 [nioEventLoopGroup-180-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb4d6367, /127.0.0.1:49884 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:25.520 [nioEventLoopGroup-180-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:25.520 [nioEventLoopGroup-180-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb4d6367, /127.0.0.1:49884 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.521 [nioEventLoopGroup-180-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb4d6367, /127.0.0.1:49884 => /127.0.0.1:34694] FLUSH
17:12:25.521 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.521 [nioEventLoopGroup-180-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb4d6367, /127.0.0.1:49884 => /127.0.0.1:34694] FLUSH
17:12:25.521 [nioEventLoopGroup-180-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb4d6367, /127.0.0.1:49884 :> /127.0.0.1:34694] INACTIVE
17:12:25.521 [nioEventLoopGroup-180-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeb4d6367, /127.0.0.1:49884 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.521 [nioEventLoopGroup-192-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-192-1
17:12:25.522 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.524 [nioEventLoopGroup-180-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32f7b342, /127.0.0.1:49886 => /127.0.0.1:34694] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:25.525 [nioEventLoopGroup-180-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:25.525 [nioEventLoopGroup-180-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32f7b342, /127.0.0.1:49886 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.526 [nioEventLoopGroup-180-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32f7b342, /127.0.0.1:49886 => /127.0.0.1:34694] FLUSH
17:12:25.526 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.526 [nioEventLoopGroup-180-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32f7b342, /127.0.0.1:49886 => /127.0.0.1:34694] FLUSH
17:12:25.526 [nioEventLoopGroup-180-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32f7b342, /127.0.0.1:49886 :> /127.0.0.1:34694] INACTIVE
17:12:25.526 [nioEventLoopGroup-180-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32f7b342, /127.0.0.1:49886 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.526 [nioEventLoopGroup-193-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-193-1
17:12:25.531 [nioEventLoopGroup-180-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee5a0d9b, /127.0.0.1:49888 => /127.0.0.1:34694] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:34694
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:25.532 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.532 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.532 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:25.533 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.533 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.533 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.534 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.534 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.534 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.535 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.535 [nioEventLoopGroup-180-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:25.535 [nioEventLoopGroup-180-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:25.535 [nioEventLoopGroup-180-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee5a0d9b, /127.0.0.1:49888 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:25.536 [nioEventLoopGroup-180-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee5a0d9b, /127.0.0.1:49888 => /127.0.0.1:34694] FLUSH
17:12:25.542 [nioEventLoopGroup-180-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd58571d7, /127.0.0.1:49890 => /127.0.0.1:34694] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:34694
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:25.542 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.543 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.543 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:25.543 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.544 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.544 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.544 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.544 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.545 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.545 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.545 [nioEventLoopGroup-180-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:25.546 [nioEventLoopGroup-180-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34694" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:25.546 [nioEventLoopGroup-180-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd58571d7, /127.0.0.1:49890 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:25.546 [nioEventLoopGroup-180-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd58571d7, /127.0.0.1:49890 => /127.0.0.1:34694] FLUSH
17:12:25.547 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:25.549 [nioEventLoopGroup-180-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34578a4d, /127.0.0.1:49892 => /127.0.0.1:34694] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:34694
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:25.550 [nioEventLoopGroup-180-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34578a4d, /127.0.0.1:49892 => /127.0.0.1:34694] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.550 [nioEventLoopGroup-180-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34578a4d, /127.0.0.1:49892 => /127.0.0.1:34694] FLUSH
17:12:25.550 [nioEventLoopGroup-180-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34578a4d, /127.0.0.1:49892 => /127.0.0.1:34694] CLOSE()
17:12:25.550 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.551 [nioEventLoopGroup-194-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-194-1
17:12:25.553 [nioEventLoopGroup-180-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-2
17:12:25.553 [nioEventLoopGroup-180-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-8
17:12:25.553 [nioEventLoopGroup-180-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-4
17:12:25.553 [nioEventLoopGroup-180-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-9
17:12:25.553 [nioEventLoopGroup-180-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-13
17:12:25.553 [nioEventLoopGroup-180-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-1
17:12:25.553 [nioEventLoopGroup-180-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-5
17:12:25.553 [nioEventLoopGroup-180-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-11
17:12:25.553 [nioEventLoopGroup-180-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-3
17:12:25.553 [nioEventLoopGroup-180-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd58571d7, /127.0.0.1:49890 :> /127.0.0.1:34694] INACTIVE
17:12:25.553 [nioEventLoopGroup-180-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-6
17:12:25.553 [nioEventLoopGroup-180-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-12
17:12:25.553 [nioEventLoopGroup-180-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-7
17:12:25.553 [nioEventLoopGroup-180-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-10
17:12:25.553 [nioEventLoopGroup-180-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee5a0d9b, /127.0.0.1:49888 :> /127.0.0.1:34694] INACTIVE
17:12:25.553 [nioEventLoopGroup-180-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd58571d7, /127.0.0.1:49890 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.553 [nioEventLoopGroup-180-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee5a0d9b, /127.0.0.1:49888 :> /127.0.0.1:34694] UNREGISTERED
17:12:25.585 [nioEventLoopGroup-164-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf420bc2f, /127.0.0.1:39980 :> /127.0.0.1:34855] FLUSH
17:12:25.585 [nioEventLoopGroup-164-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf420bc2f, /127.0.0.1:39980 :> /127.0.0.1:34855] INACTIVE
17:12:25.585 [nioEventLoopGroup-164-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf420bc2f, /127.0.0.1:39980 :> /127.0.0.1:34855] UNREGISTERED
17:12:25.585 [nioEventLoopGroup-164-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-16
17:12:25.609 [nioEventLoopGroup-148-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-15
17:12:25.611 [nioEventLoopGroup-148-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-148-14
17:12:25.906 [MockServer thread for port: 46600] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 46600
17:12:25.907 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.911 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97beb3f9, /127.0.0.1:52930 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:25.911 [nioEventLoopGroup-196-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:25.912 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97beb3f9, /127.0.0.1:52930 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.912 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97beb3f9, /127.0.0.1:52930 => /127.0.0.1:46600] FLUSH
17:12:25.912 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97beb3f9, /127.0.0.1:52930 => /127.0.0.1:46600] FLUSH
17:12:25.912 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.912 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97beb3f9, /127.0.0.1:52930 :> /127.0.0.1:46600] INACTIVE
17:12:25.912 [nioEventLoopGroup-196-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97beb3f9, /127.0.0.1:52930 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.912 [nioEventLoopGroup-197-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-197-1
17:12:25.913 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.916 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85a785bb, /127.0.0.1:52932 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:25.917 [nioEventLoopGroup-196-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:25.917 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85a785bb, /127.0.0.1:52932 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.917 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85a785bb, /127.0.0.1:52932 => /127.0.0.1:46600] FLUSH
17:12:25.917 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.918 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85a785bb, /127.0.0.1:52932 => /127.0.0.1:46600] FLUSH
17:12:25.918 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85a785bb, /127.0.0.1:52932 :> /127.0.0.1:46600] INACTIVE
17:12:25.918 [nioEventLoopGroup-198-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-198-1
17:12:25.918 [nioEventLoopGroup-196-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85a785bb, /127.0.0.1:52932 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.919 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.921 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x94b1533f, /127.0.0.1:52934 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:25.922 [nioEventLoopGroup-196-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:25.922 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x94b1533f, /127.0.0.1:52934 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.922 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x94b1533f, /127.0.0.1:52934 => /127.0.0.1:46600] FLUSH
17:12:25.922 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.922 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x94b1533f, /127.0.0.1:52934 => /127.0.0.1:46600] FLUSH
17:12:25.923 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x94b1533f, /127.0.0.1:52934 :> /127.0.0.1:46600] INACTIVE
17:12:25.923 [nioEventLoopGroup-196-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x94b1533f, /127.0.0.1:52934 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.923 [nioEventLoopGroup-199-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-199-1
17:12:25.924 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.927 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46a3403d, /127.0.0.1:52936 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.928 [nioEventLoopGroup-196-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:25.928 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46a3403d, /127.0.0.1:52936 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.928 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46a3403d, /127.0.0.1:52936 => /127.0.0.1:46600] FLUSH
17:12:25.928 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.928 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46a3403d, /127.0.0.1:52936 => /127.0.0.1:46600] FLUSH
17:12:25.928 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46a3403d, /127.0.0.1:52936 :> /127.0.0.1:46600] INACTIVE
17:12:25.928 [nioEventLoopGroup-196-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46a3403d, /127.0.0.1:52936 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.928 [nioEventLoopGroup-200-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-200-1
17:12:25.929 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.931 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5733e060, /127.0.0.1:52938 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:25.932 [nioEventLoopGroup-196-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:25.933 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5733e060, /127.0.0.1:52938 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.933 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5733e060, /127.0.0.1:52938 => /127.0.0.1:46600] FLUSH
17:12:25.933 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.933 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5733e060, /127.0.0.1:52938 => /127.0.0.1:46600] FLUSH
17:12:25.933 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5733e060, /127.0.0.1:52938 :> /127.0.0.1:46600] INACTIVE
17:12:25.933 [nioEventLoopGroup-196-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5733e060, /127.0.0.1:52938 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.933 [nioEventLoopGroup-201-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-201-1
17:12:25.934 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.936 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0d9961, /127.0.0.1:52940 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:25.937 [nioEventLoopGroup-196-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:25.937 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0d9961, /127.0.0.1:52940 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.938 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0d9961, /127.0.0.1:52940 => /127.0.0.1:46600] FLUSH
17:12:25.938 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0d9961, /127.0.0.1:52940 => /127.0.0.1:46600] FLUSH
17:12:25.938 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.938 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0d9961, /127.0.0.1:52940 :> /127.0.0.1:46600] INACTIVE
17:12:25.938 [nioEventLoopGroup-202-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-202-1
17:12:25.938 [nioEventLoopGroup-196-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6f0d9961, /127.0.0.1:52940 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.939 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.941 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63c0ea4, /127.0.0.1:52942 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:25.942 [nioEventLoopGroup-196-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:25.942 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63c0ea4, /127.0.0.1:52942 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.942 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63c0ea4, /127.0.0.1:52942 => /127.0.0.1:46600] FLUSH
17:12:25.942 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.942 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63c0ea4, /127.0.0.1:52942 => /127.0.0.1:46600] FLUSH
17:12:25.943 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63c0ea4, /127.0.0.1:52942 :> /127.0.0.1:46600] INACTIVE
17:12:25.943 [nioEventLoopGroup-203-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-203-1
17:12:25.943 [nioEventLoopGroup-196-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63c0ea4, /127.0.0.1:52942 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.944 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.948 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ed5314, /127.0.0.1:52944 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.949 [nioEventLoopGroup-196-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:25.950 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ed5314, /127.0.0.1:52944 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.950 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ed5314, /127.0.0.1:52944 => /127.0.0.1:46600] FLUSH
17:12:25.950 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.950 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ed5314, /127.0.0.1:52944 => /127.0.0.1:46600] FLUSH
17:12:25.951 [nioEventLoopGroup-204-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-204-1
17:12:25.951 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ed5314, /127.0.0.1:52944 :> /127.0.0.1:46600] INACTIVE
17:12:25.951 [nioEventLoopGroup-196-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95ed5314, /127.0.0.1:52944 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.952 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.954 [nioEventLoopGroup-196-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072e1f58, /127.0.0.1:52946 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.955 [nioEventLoopGroup-196-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:25.955 [nioEventLoopGroup-196-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072e1f58, /127.0.0.1:52946 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.955 [nioEventLoopGroup-196-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072e1f58, /127.0.0.1:52946 => /127.0.0.1:46600] FLUSH
17:12:25.956 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.956 [nioEventLoopGroup-196-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072e1f58, /127.0.0.1:52946 => /127.0.0.1:46600] FLUSH
17:12:25.956 [nioEventLoopGroup-205-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-205-1
17:12:25.956 [nioEventLoopGroup-196-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072e1f58, /127.0.0.1:52946 :> /127.0.0.1:46600] INACTIVE
17:12:25.956 [nioEventLoopGroup-196-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x072e1f58, /127.0.0.1:52946 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.957 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.959 [nioEventLoopGroup-196-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43a5cd8c, /127.0.0.1:52948 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.960 [nioEventLoopGroup-196-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:25.960 [nioEventLoopGroup-196-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43a5cd8c, /127.0.0.1:52948 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.960 [nioEventLoopGroup-196-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43a5cd8c, /127.0.0.1:52948 => /127.0.0.1:46600] FLUSH
17:12:25.960 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.960 [nioEventLoopGroup-196-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43a5cd8c, /127.0.0.1:52948 => /127.0.0.1:46600] FLUSH
17:12:25.960 [nioEventLoopGroup-196-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43a5cd8c, /127.0.0.1:52948 :> /127.0.0.1:46600] INACTIVE
17:12:25.960 [nioEventLoopGroup-196-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x43a5cd8c, /127.0.0.1:52948 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.961 [nioEventLoopGroup-206-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-206-1
17:12:25.961 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.963 [nioEventLoopGroup-196-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81d23129, /127.0.0.1:52950 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:25.964 [nioEventLoopGroup-196-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:25.964 [nioEventLoopGroup-196-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81d23129, /127.0.0.1:52950 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.964 [nioEventLoopGroup-196-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81d23129, /127.0.0.1:52950 => /127.0.0.1:46600] FLUSH
17:12:25.965 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.965 [nioEventLoopGroup-196-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81d23129, /127.0.0.1:52950 => /127.0.0.1:46600] FLUSH
17:12:25.965 [nioEventLoopGroup-196-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81d23129, /127.0.0.1:52950 :> /127.0.0.1:46600] INACTIVE
17:12:25.965 [nioEventLoopGroup-196-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x81d23129, /127.0.0.1:52950 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.965 [nioEventLoopGroup-207-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-207-1
17:12:25.966 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.968 [nioEventLoopGroup-196-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x562dd8c1, /127.0.0.1:52952 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:25.969 [nioEventLoopGroup-196-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:25.969 [nioEventLoopGroup-196-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x562dd8c1, /127.0.0.1:52952 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.969 [nioEventLoopGroup-196-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x562dd8c1, /127.0.0.1:52952 => /127.0.0.1:46600] FLUSH
17:12:25.970 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.970 [nioEventLoopGroup-196-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x562dd8c1, /127.0.0.1:52952 => /127.0.0.1:46600] FLUSH
17:12:25.970 [nioEventLoopGroup-208-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-208-1
17:12:25.970 [nioEventLoopGroup-196-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x562dd8c1, /127.0.0.1:52952 :> /127.0.0.1:46600] INACTIVE
17:12:25.970 [nioEventLoopGroup-196-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x562dd8c1, /127.0.0.1:52952 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.971 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:25.975 [nioEventLoopGroup-196-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a7eb0b5, /127.0.0.1:52954 => /127.0.0.1:46600] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:25.975 [nioEventLoopGroup-196-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:25.976 [nioEventLoopGroup-196-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a7eb0b5, /127.0.0.1:52954 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.976 [nioEventLoopGroup-196-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a7eb0b5, /127.0.0.1:52954 => /127.0.0.1:46600] FLUSH
17:12:25.976 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.976 [nioEventLoopGroup-196-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a7eb0b5, /127.0.0.1:52954 => /127.0.0.1:46600] FLUSH
17:12:25.976 [nioEventLoopGroup-209-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-209-1
17:12:25.976 [nioEventLoopGroup-196-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a7eb0b5, /127.0.0.1:52954 :> /127.0.0.1:46600] INACTIVE
17:12:25.976 [nioEventLoopGroup-196-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9a7eb0b5, /127.0.0.1:52954 :> /127.0.0.1:46600] UNREGISTERED
17:12:25.979 [nioEventLoopGroup-196-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec5da91b, /127.0.0.1:52956 => /127.0.0.1:46600] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:46600
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:25.980 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.980 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.981 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:25.981 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.982 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.982 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.982 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.983 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:25.983 [nioEventLoopGroup-196-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:25.983 [nioEventLoopGroup-196-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec5da91b, /127.0.0.1:52956 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:25.983 [nioEventLoopGroup-196-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec5da91b, /127.0.0.1:52956 => /127.0.0.1:46600] FLUSH
17:12:25.985 [nioEventLoopGroup-196-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec5da91b, /127.0.0.1:52956 => /127.0.0.1:46600] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:46600
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:25.986 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.986 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.986 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:25.986 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.986 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.987 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.987 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:25.987 [nioEventLoopGroup-196-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:25.987 [nioEventLoopGroup-196-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:46600" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:25.988 [nioEventLoopGroup-196-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec5da91b, /127.0.0.1:52956 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:25.988 [nioEventLoopGroup-196-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec5da91b, /127.0.0.1:52956 => /127.0.0.1:46600] FLUSH
17:12:25.988 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:25.991 [nioEventLoopGroup-196-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe420be5f, /127.0.0.1:52958 => /127.0.0.1:46600] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:46600
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:25.991 [nioEventLoopGroup-196-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe420be5f, /127.0.0.1:52958 => /127.0.0.1:46600] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:25.991 [nioEventLoopGroup-196-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe420be5f, /127.0.0.1:52958 => /127.0.0.1:46600] FLUSH
17:12:25.991 [nioEventLoopGroup-196-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe420be5f, /127.0.0.1:52958 => /127.0.0.1:46600] CLOSE()
17:12:25.991 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:25.992 [nioEventLoopGroup-210-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-210-1
17:12:25.993 [nioEventLoopGroup-196-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-1
17:12:25.993 [nioEventLoopGroup-196-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-5
17:12:25.993 [nioEventLoopGroup-196-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-4
17:12:25.993 [nioEventLoopGroup-196-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-7
17:12:25.993 [nioEventLoopGroup-196-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-13
17:12:25.993 [nioEventLoopGroup-196-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-2
17:12:25.993 [nioEventLoopGroup-196-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-10
17:12:25.993 [nioEventLoopGroup-196-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-3
17:12:25.993 [nioEventLoopGroup-196-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-6
17:12:25.993 [nioEventLoopGroup-196-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-8
17:12:25.993 [nioEventLoopGroup-196-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec5da91b, /127.0.0.1:52956 :> /127.0.0.1:46600] INACTIVE
17:12:25.993 [nioEventLoopGroup-196-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-9
17:12:25.993 [nioEventLoopGroup-196-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-12
17:12:25.993 [nioEventLoopGroup-196-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-11
17:12:25.993 [nioEventLoopGroup-196-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec5da91b, /127.0.0.1:52956 :> /127.0.0.1:46600] UNREGISTERED
17:12:26.053 [nioEventLoopGroup-180-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34578a4d, /127.0.0.1:49892 :> /127.0.0.1:34694] FLUSH
17:12:26.053 [nioEventLoopGroup-180-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34578a4d, /127.0.0.1:49892 :> /127.0.0.1:34694] INACTIVE
17:12:26.053 [nioEventLoopGroup-180-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x34578a4d, /127.0.0.1:49892 :> /127.0.0.1:34694] UNREGISTERED
17:12:26.053 [nioEventLoopGroup-180-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-16
17:12:26.087 [nioEventLoopGroup-164-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-14
17:12:26.087 [nioEventLoopGroup-164-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-164-15
17:12:26.347 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.347 [MockServer thread for port: 45275] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 45275
17:12:26.351 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x677a033d, /127.0.0.1:50736 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:26.352 [nioEventLoopGroup-212-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:26.352 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x677a033d, /127.0.0.1:50736 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.352 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x677a033d, /127.0.0.1:50736 => /127.0.0.1:45275] FLUSH
17:12:26.353 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x677a033d, /127.0.0.1:50736 => /127.0.0.1:45275] FLUSH
17:12:26.353 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x677a033d, /127.0.0.1:50736 :> /127.0.0.1:45275] INACTIVE
17:12:26.353 [nioEventLoopGroup-212-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x677a033d, /127.0.0.1:50736 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.353 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.354 [nioEventLoopGroup-213-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-213-1
17:12:26.355 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.358 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf65d4598, /127.0.0.1:50740 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:26.359 [nioEventLoopGroup-212-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:26.360 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf65d4598, /127.0.0.1:50740 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.360 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf65d4598, /127.0.0.1:50740 => /127.0.0.1:45275] FLUSH
17:12:26.360 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.360 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf65d4598, /127.0.0.1:50740 => /127.0.0.1:45275] FLUSH
17:12:26.361 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf65d4598, /127.0.0.1:50740 :> /127.0.0.1:45275] INACTIVE
17:12:26.361 [nioEventLoopGroup-212-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf65d4598, /127.0.0.1:50740 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.361 [nioEventLoopGroup-214-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-214-1
17:12:26.362 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.365 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36532f9e, /127.0.0.1:50744 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:26.366 [nioEventLoopGroup-212-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:26.366 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36532f9e, /127.0.0.1:50744 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.366 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36532f9e, /127.0.0.1:50744 => /127.0.0.1:45275] FLUSH
17:12:26.367 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.367 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36532f9e, /127.0.0.1:50744 => /127.0.0.1:45275] FLUSH
17:12:26.367 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36532f9e, /127.0.0.1:50744 :> /127.0.0.1:45275] INACTIVE
17:12:26.367 [nioEventLoopGroup-212-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x36532f9e, /127.0.0.1:50744 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.367 [nioEventLoopGroup-215-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-215-1
17:12:26.368 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.371 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b262a0f, /127.0.0.1:50748 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.372 [nioEventLoopGroup-212-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:26.372 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b262a0f, /127.0.0.1:50748 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.372 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b262a0f, /127.0.0.1:50748 => /127.0.0.1:45275] FLUSH
17:12:26.372 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.373 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b262a0f, /127.0.0.1:50748 => /127.0.0.1:45275] FLUSH
17:12:26.373 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b262a0f, /127.0.0.1:50748 :> /127.0.0.1:45275] INACTIVE
17:12:26.373 [nioEventLoopGroup-212-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1b262a0f, /127.0.0.1:50748 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.373 [nioEventLoopGroup-216-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-216-1
17:12:26.373 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.381 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5806db0a, /127.0.0.1:50750 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:26.382 [nioEventLoopGroup-212-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:26.382 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5806db0a, /127.0.0.1:50750 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.382 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5806db0a, /127.0.0.1:50750 => /127.0.0.1:45275] FLUSH
17:12:26.382 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5806db0a, /127.0.0.1:50750 => /127.0.0.1:45275] FLUSH
17:12:26.382 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.382 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5806db0a, /127.0.0.1:50750 :> /127.0.0.1:45275] INACTIVE
17:12:26.383 [nioEventLoopGroup-212-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5806db0a, /127.0.0.1:50750 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.383 [nioEventLoopGroup-217-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-217-1
17:12:26.384 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.386 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x398e478c, /127.0.0.1:50752 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:26.387 [nioEventLoopGroup-212-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:26.388 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x398e478c, /127.0.0.1:50752 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.388 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x398e478c, /127.0.0.1:50752 => /127.0.0.1:45275] FLUSH
17:12:26.388 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.388 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x398e478c, /127.0.0.1:50752 => /127.0.0.1:45275] FLUSH
17:12:26.388 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x398e478c, /127.0.0.1:50752 :> /127.0.0.1:45275] INACTIVE
17:12:26.388 [nioEventLoopGroup-212-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x398e478c, /127.0.0.1:50752 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.388 [nioEventLoopGroup-218-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-218-1
17:12:26.389 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.392 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d89cab, /127.0.0.1:50754 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:26.393 [nioEventLoopGroup-212-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:26.393 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d89cab, /127.0.0.1:50754 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.393 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d89cab, /127.0.0.1:50754 => /127.0.0.1:45275] FLUSH
17:12:26.393 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.394 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d89cab, /127.0.0.1:50754 => /127.0.0.1:45275] FLUSH
17:12:26.394 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d89cab, /127.0.0.1:50754 :> /127.0.0.1:45275] INACTIVE
17:12:26.394 [nioEventLoopGroup-212-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d89cab, /127.0.0.1:50754 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.394 [nioEventLoopGroup-219-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-219-1
17:12:26.394 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.397 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd029d404, /127.0.0.1:50756 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.398 [nioEventLoopGroup-212-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:26.398 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd029d404, /127.0.0.1:50756 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.398 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd029d404, /127.0.0.1:50756 => /127.0.0.1:45275] FLUSH
17:12:26.398 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd029d404, /127.0.0.1:50756 => /127.0.0.1:45275] FLUSH
17:12:26.398 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.398 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd029d404, /127.0.0.1:50756 :> /127.0.0.1:45275] INACTIVE
17:12:26.398 [nioEventLoopGroup-212-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd029d404, /127.0.0.1:50756 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.398 [nioEventLoopGroup-220-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-220-1
17:12:26.399 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.402 [nioEventLoopGroup-212-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x468da635, /127.0.0.1:50758 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.403 [nioEventLoopGroup-212-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:26.403 [nioEventLoopGroup-212-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x468da635, /127.0.0.1:50758 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.403 [nioEventLoopGroup-212-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x468da635, /127.0.0.1:50758 => /127.0.0.1:45275] FLUSH
17:12:26.403 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.403 [nioEventLoopGroup-212-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x468da635, /127.0.0.1:50758 => /127.0.0.1:45275] FLUSH
17:12:26.404 [nioEventLoopGroup-212-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x468da635, /127.0.0.1:50758 :> /127.0.0.1:45275] INACTIVE
17:12:26.404 [nioEventLoopGroup-221-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-221-1
17:12:26.404 [nioEventLoopGroup-212-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x468da635, /127.0.0.1:50758 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.407 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.411 [nioEventLoopGroup-212-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf776af65, /127.0.0.1:50760 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.411 [nioEventLoopGroup-212-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:26.412 [nioEventLoopGroup-212-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf776af65, /127.0.0.1:50760 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.412 [nioEventLoopGroup-212-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf776af65, /127.0.0.1:50760 => /127.0.0.1:45275] FLUSH
17:12:26.412 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.412 [nioEventLoopGroup-212-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf776af65, /127.0.0.1:50760 => /127.0.0.1:45275] FLUSH
17:12:26.412 [nioEventLoopGroup-212-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf776af65, /127.0.0.1:50760 :> /127.0.0.1:45275] INACTIVE
17:12:26.412 [nioEventLoopGroup-212-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf776af65, /127.0.0.1:50760 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.412 [nioEventLoopGroup-222-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-222-1
17:12:26.413 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.416 [nioEventLoopGroup-212-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7edd9d17, /127.0.0.1:50762 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.416 [nioEventLoopGroup-212-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:26.416 [nioEventLoopGroup-212-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7edd9d17, /127.0.0.1:50762 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.417 [nioEventLoopGroup-212-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7edd9d17, /127.0.0.1:50762 => /127.0.0.1:45275] FLUSH
17:12:26.417 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.417 [nioEventLoopGroup-212-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7edd9d17, /127.0.0.1:50762 => /127.0.0.1:45275] FLUSH
17:12:26.417 [nioEventLoopGroup-212-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7edd9d17, /127.0.0.1:50762 :> /127.0.0.1:45275] INACTIVE
17:12:26.417 [nioEventLoopGroup-212-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7edd9d17, /127.0.0.1:50762 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.417 [nioEventLoopGroup-223-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-223-1
17:12:26.418 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.421 [nioEventLoopGroup-212-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a2181e9, /127.0.0.1:50764 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:26.422 [nioEventLoopGroup-212-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:26.422 [nioEventLoopGroup-212-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a2181e9, /127.0.0.1:50764 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.422 [nioEventLoopGroup-212-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a2181e9, /127.0.0.1:50764 => /127.0.0.1:45275] FLUSH
17:12:26.422 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.423 [nioEventLoopGroup-212-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a2181e9, /127.0.0.1:50764 => /127.0.0.1:45275] FLUSH
17:12:26.423 [nioEventLoopGroup-212-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a2181e9, /127.0.0.1:50764 :> /127.0.0.1:45275] INACTIVE
17:12:26.423 [nioEventLoopGroup-224-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-224-1
17:12:26.423 [nioEventLoopGroup-212-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a2181e9, /127.0.0.1:50764 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.424 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.427 [nioEventLoopGroup-212-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe67b52ed, /127.0.0.1:50766 => /127.0.0.1:45275] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:26.428 [nioEventLoopGroup-212-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:26.428 [nioEventLoopGroup-212-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe67b52ed, /127.0.0.1:50766 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.428 [nioEventLoopGroup-212-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe67b52ed, /127.0.0.1:50766 => /127.0.0.1:45275] FLUSH
17:12:26.429 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.429 [nioEventLoopGroup-212-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe67b52ed, /127.0.0.1:50766 => /127.0.0.1:45275] FLUSH
17:12:26.429 [nioEventLoopGroup-212-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe67b52ed, /127.0.0.1:50766 :> /127.0.0.1:45275] INACTIVE
17:12:26.429 [nioEventLoopGroup-212-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe67b52ed, /127.0.0.1:50766 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.429 [nioEventLoopGroup-225-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-225-1
17:12:26.431 [nioEventLoopGroup-212-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba4debae, /127.0.0.1:50768 => /127.0.0.1:45275] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:45275
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:26.431 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.432 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.432 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:26.432 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.432 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.433 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.433 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.433 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.433 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:26.434 [nioEventLoopGroup-212-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:26.434 [nioEventLoopGroup-212-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba4debae, /127.0.0.1:50768 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:26.434 [nioEventLoopGroup-212-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba4debae, /127.0.0.1:50768 => /127.0.0.1:45275] FLUSH
17:12:26.436 [nioEventLoopGroup-212-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba4debae, /127.0.0.1:50768 => /127.0.0.1:45275] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:45275
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:26.436 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.436 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.436 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:26.437 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.437 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.437 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.437 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.438 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.438 [nioEventLoopGroup-212-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:26.438 [nioEventLoopGroup-212-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45275" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:26.438 [nioEventLoopGroup-212-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba4debae, /127.0.0.1:50768 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:26.438 [nioEventLoopGroup-212-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba4debae, /127.0.0.1:50768 => /127.0.0.1:45275] FLUSH
17:12:26.439 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:26.441 [nioEventLoopGroup-212-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150c1137, /127.0.0.1:50770 => /127.0.0.1:45275] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:45275
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:26.441 [nioEventLoopGroup-212-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150c1137, /127.0.0.1:50770 => /127.0.0.1:45275] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.441 [nioEventLoopGroup-212-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150c1137, /127.0.0.1:50770 => /127.0.0.1:45275] FLUSH
17:12:26.441 [nioEventLoopGroup-212-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150c1137, /127.0.0.1:50770 => /127.0.0.1:45275] CLOSE()
17:12:26.442 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.442 [nioEventLoopGroup-226-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-226-1
17:12:26.444 [nioEventLoopGroup-212-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-1
17:12:26.444 [nioEventLoopGroup-212-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-2
17:12:26.444 [nioEventLoopGroup-212-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-6
17:12:26.444 [nioEventLoopGroup-212-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-4
17:12:26.444 [nioEventLoopGroup-212-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-3
17:12:26.444 [nioEventLoopGroup-212-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-8
17:12:26.444 [nioEventLoopGroup-212-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-5
17:12:26.444 [nioEventLoopGroup-212-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-11
17:12:26.444 [nioEventLoopGroup-212-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-7
17:12:26.444 [nioEventLoopGroup-212-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-9
17:12:26.444 [nioEventLoopGroup-212-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-12
17:12:26.444 [nioEventLoopGroup-212-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-13
17:12:26.444 [nioEventLoopGroup-212-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba4debae, /127.0.0.1:50768 :> /127.0.0.1:45275] INACTIVE
17:12:26.444 [nioEventLoopGroup-212-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-10
17:12:26.458 [nioEventLoopGroup-212-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba4debae, /127.0.0.1:50768 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.493 [nioEventLoopGroup-196-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe420be5f, /127.0.0.1:52958 :> /127.0.0.1:46600] FLUSH
17:12:26.493 [nioEventLoopGroup-196-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe420be5f, /127.0.0.1:52958 :> /127.0.0.1:46600] INACTIVE
17:12:26.493 [nioEventLoopGroup-196-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe420be5f, /127.0.0.1:52958 :> /127.0.0.1:46600] UNREGISTERED
17:12:26.494 [nioEventLoopGroup-196-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-15
17:12:26.554 [nioEventLoopGroup-180-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-14
17:12:26.554 [nioEventLoopGroup-180-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-180-15
17:12:26.797 [MockServer thread for port: 42741] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 42741
17:12:26.798 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.801 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x624e57a2, /127.0.0.1:42194 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:26.802 [nioEventLoopGroup-228-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:26.802 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x624e57a2, /127.0.0.1:42194 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.803 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x624e57a2, /127.0.0.1:42194 => /127.0.0.1:42741] FLUSH
17:12:26.803 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x624e57a2, /127.0.0.1:42194 => /127.0.0.1:42741] FLUSH
17:12:26.803 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.804 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x624e57a2, /127.0.0.1:42194 :> /127.0.0.1:42741] INACTIVE
17:12:26.804 [nioEventLoopGroup-229-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-229-1
17:12:26.804 [nioEventLoopGroup-228-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x624e57a2, /127.0.0.1:42194 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.805 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.810 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd5cd24c3, /127.0.0.1:42198 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:26.813 [nioEventLoopGroup-228-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:26.814 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd5cd24c3, /127.0.0.1:42198 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.814 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd5cd24c3, /127.0.0.1:42198 => /127.0.0.1:42741] FLUSH
17:12:26.815 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.815 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd5cd24c3, /127.0.0.1:42198 => /127.0.0.1:42741] FLUSH
17:12:26.815 [nioEventLoopGroup-230-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-230-1
17:12:26.815 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd5cd24c3, /127.0.0.1:42198 :> /127.0.0.1:42741] INACTIVE
17:12:26.815 [nioEventLoopGroup-228-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd5cd24c3, /127.0.0.1:42198 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.816 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.823 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3a65832, /127.0.0.1:42202 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:26.824 [nioEventLoopGroup-228-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:26.825 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3a65832, /127.0.0.1:42202 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.825 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3a65832, /127.0.0.1:42202 => /127.0.0.1:42741] FLUSH
17:12:26.826 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.826 [nioEventLoopGroup-231-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-231-1
17:12:26.826 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3a65832, /127.0.0.1:42202 => /127.0.0.1:42741] FLUSH
17:12:26.826 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3a65832, /127.0.0.1:42202 :> /127.0.0.1:42741] INACTIVE
17:12:26.826 [nioEventLoopGroup-228-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3a65832, /127.0.0.1:42202 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.828 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.832 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2abddf, /127.0.0.1:42206 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.833 [nioEventLoopGroup-228-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:26.833 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2abddf, /127.0.0.1:42206 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.833 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2abddf, /127.0.0.1:42206 => /127.0.0.1:42741] FLUSH
17:12:26.834 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2abddf, /127.0.0.1:42206 => /127.0.0.1:42741] FLUSH
17:12:26.834 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.834 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2abddf, /127.0.0.1:42206 :> /127.0.0.1:42741] INACTIVE
17:12:26.834 [nioEventLoopGroup-228-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcc2abddf, /127.0.0.1:42206 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.834 [nioEventLoopGroup-232-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-232-1
17:12:26.835 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.839 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60674cf3, /127.0.0.1:42210 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:26.841 [nioEventLoopGroup-228-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:26.841 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60674cf3, /127.0.0.1:42210 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.841 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60674cf3, /127.0.0.1:42210 => /127.0.0.1:42741] FLUSH
17:12:26.842 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60674cf3, /127.0.0.1:42210 => /127.0.0.1:42741] FLUSH
17:12:26.842 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.842 [nioEventLoopGroup-233-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-233-1
17:12:26.842 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60674cf3, /127.0.0.1:42210 :> /127.0.0.1:42741] INACTIVE
17:12:26.842 [nioEventLoopGroup-228-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60674cf3, /127.0.0.1:42210 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.843 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.847 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75f07e28, /127.0.0.1:42214 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:26.850 [nioEventLoopGroup-228-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:26.851 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75f07e28, /127.0.0.1:42214 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.851 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75f07e28, /127.0.0.1:42214 => /127.0.0.1:42741] FLUSH
17:12:26.851 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.852 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75f07e28, /127.0.0.1:42214 => /127.0.0.1:42741] FLUSH
17:12:26.852 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75f07e28, /127.0.0.1:42214 :> /127.0.0.1:42741] INACTIVE
17:12:26.852 [nioEventLoopGroup-234-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-234-1
17:12:26.852 [nioEventLoopGroup-228-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x75f07e28, /127.0.0.1:42214 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.853 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.857 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9283f850, /127.0.0.1:42218 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:26.859 [nioEventLoopGroup-228-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:26.859 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9283f850, /127.0.0.1:42218 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.859 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9283f850, /127.0.0.1:42218 => /127.0.0.1:42741] FLUSH
17:12:26.859 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.860 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9283f850, /127.0.0.1:42218 => /127.0.0.1:42741] FLUSH
17:12:26.860 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9283f850, /127.0.0.1:42218 :> /127.0.0.1:42741] INACTIVE
17:12:26.860 [nioEventLoopGroup-235-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-235-1
17:12:26.860 [nioEventLoopGroup-228-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9283f850, /127.0.0.1:42218 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.861 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.863 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1751d447, /127.0.0.1:42220 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.864 [nioEventLoopGroup-228-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:26.864 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1751d447, /127.0.0.1:42220 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.864 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1751d447, /127.0.0.1:42220 => /127.0.0.1:42741] FLUSH
17:12:26.865 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.865 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1751d447, /127.0.0.1:42220 => /127.0.0.1:42741] FLUSH
17:12:26.865 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1751d447, /127.0.0.1:42220 :> /127.0.0.1:42741] INACTIVE
17:12:26.865 [nioEventLoopGroup-236-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-236-1
17:12:26.865 [nioEventLoopGroup-228-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1751d447, /127.0.0.1:42220 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.866 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.871 [nioEventLoopGroup-228-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc4cc1a5, /127.0.0.1:42222 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.872 [nioEventLoopGroup-228-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:26.873 [nioEventLoopGroup-228-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc4cc1a5, /127.0.0.1:42222 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.873 [nioEventLoopGroup-228-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc4cc1a5, /127.0.0.1:42222 => /127.0.0.1:42741] FLUSH
17:12:26.873 [nioEventLoopGroup-228-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc4cc1a5, /127.0.0.1:42222 => /127.0.0.1:42741] FLUSH
17:12:26.874 [nioEventLoopGroup-228-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc4cc1a5, /127.0.0.1:42222 :> /127.0.0.1:42741] INACTIVE
17:12:26.874 [nioEventLoopGroup-228-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc4cc1a5, /127.0.0.1:42222 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.874 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.875 [nioEventLoopGroup-237-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-237-1
17:12:26.882 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.885 [nioEventLoopGroup-228-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x327437eb, /127.0.0.1:42224 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.886 [nioEventLoopGroup-228-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:26.886 [nioEventLoopGroup-228-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x327437eb, /127.0.0.1:42224 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.887 [nioEventLoopGroup-228-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x327437eb, /127.0.0.1:42224 => /127.0.0.1:42741] FLUSH
17:12:26.887 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.887 [nioEventLoopGroup-228-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x327437eb, /127.0.0.1:42224 => /127.0.0.1:42741] FLUSH
17:12:26.887 [nioEventLoopGroup-238-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-238-1
17:12:26.887 [nioEventLoopGroup-228-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x327437eb, /127.0.0.1:42224 :> /127.0.0.1:42741] INACTIVE
17:12:26.887 [nioEventLoopGroup-228-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x327437eb, /127.0.0.1:42224 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.888 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.891 [nioEventLoopGroup-228-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x058a2c01, /127.0.0.1:42226 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:26.891 [nioEventLoopGroup-228-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:26.891 [nioEventLoopGroup-228-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x058a2c01, /127.0.0.1:42226 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.891 [nioEventLoopGroup-228-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x058a2c01, /127.0.0.1:42226 => /127.0.0.1:42741] FLUSH
17:12:26.892 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.892 [nioEventLoopGroup-228-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x058a2c01, /127.0.0.1:42226 => /127.0.0.1:42741] FLUSH
17:12:26.892 [nioEventLoopGroup-228-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x058a2c01, /127.0.0.1:42226 :> /127.0.0.1:42741] INACTIVE
17:12:26.892 [nioEventLoopGroup-239-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-239-1
17:12:26.892 [nioEventLoopGroup-228-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x058a2c01, /127.0.0.1:42226 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.893 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.895 [nioEventLoopGroup-228-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x496d8836, /127.0.0.1:42228 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:26.896 [nioEventLoopGroup-228-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:26.897 [nioEventLoopGroup-228-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x496d8836, /127.0.0.1:42228 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.897 [nioEventLoopGroup-228-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x496d8836, /127.0.0.1:42228 => /127.0.0.1:42741] FLUSH
17:12:26.897 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.897 [nioEventLoopGroup-228-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x496d8836, /127.0.0.1:42228 => /127.0.0.1:42741] FLUSH
17:12:26.897 [nioEventLoopGroup-228-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x496d8836, /127.0.0.1:42228 :> /127.0.0.1:42741] INACTIVE
17:12:26.897 [nioEventLoopGroup-240-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-240-1
17:12:26.897 [nioEventLoopGroup-228-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x496d8836, /127.0.0.1:42228 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.898 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:26.900 [nioEventLoopGroup-228-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8201752c, /127.0.0.1:42230 => /127.0.0.1:42741] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:26.902 [nioEventLoopGroup-228-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:26.902 [nioEventLoopGroup-228-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8201752c, /127.0.0.1:42230 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.902 [nioEventLoopGroup-228-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8201752c, /127.0.0.1:42230 => /127.0.0.1:42741] FLUSH
17:12:26.902 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.902 [nioEventLoopGroup-228-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8201752c, /127.0.0.1:42230 => /127.0.0.1:42741] FLUSH
17:12:26.903 [nioEventLoopGroup-228-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8201752c, /127.0.0.1:42230 :> /127.0.0.1:42741] INACTIVE
17:12:26.903 [nioEventLoopGroup-241-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-241-1
17:12:26.903 [nioEventLoopGroup-228-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8201752c, /127.0.0.1:42230 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.905 [nioEventLoopGroup-228-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda5f6c57, /127.0.0.1:42232 => /127.0.0.1:42741] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:42741
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:26.906 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.906 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.907 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:26.907 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.907 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.907 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.907 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.908 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.908 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.908 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:26.909 [nioEventLoopGroup-228-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:26.909 [nioEventLoopGroup-228-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda5f6c57, /127.0.0.1:42232 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:26.909 [nioEventLoopGroup-228-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda5f6c57, /127.0.0.1:42232 => /127.0.0.1:42741] FLUSH
17:12:26.911 [nioEventLoopGroup-228-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda5f6c57, /127.0.0.1:42232 => /127.0.0.1:42741] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:42741
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:26.912 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.912 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.912 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:26.912 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.912 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.913 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.913 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.913 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.913 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:26.913 [nioEventLoopGroup-228-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:26.914 [nioEventLoopGroup-228-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:42741" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:26.914 [nioEventLoopGroup-228-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda5f6c57, /127.0.0.1:42232 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:26.914 [nioEventLoopGroup-228-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda5f6c57, /127.0.0.1:42232 => /127.0.0.1:42741] FLUSH
17:12:26.915 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:26.917 [nioEventLoopGroup-228-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x77f5a0eb, /127.0.0.1:42234 => /127.0.0.1:42741] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:42741
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:26.917 [nioEventLoopGroup-228-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x77f5a0eb, /127.0.0.1:42234 => /127.0.0.1:42741] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:26.917 [nioEventLoopGroup-228-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x77f5a0eb, /127.0.0.1:42234 => /127.0.0.1:42741] FLUSH
17:12:26.917 [nioEventLoopGroup-228-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x77f5a0eb, /127.0.0.1:42234 => /127.0.0.1:42741] CLOSE()
17:12:26.917 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:26.918 [nioEventLoopGroup-242-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-242-1
17:12:26.920 [nioEventLoopGroup-228-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-1
17:12:26.920 [nioEventLoopGroup-228-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-3
17:12:26.920 [nioEventLoopGroup-228-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-5
17:12:26.920 [nioEventLoopGroup-228-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-6
17:12:26.920 [nioEventLoopGroup-228-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-2
17:12:26.920 [nioEventLoopGroup-228-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-4
17:12:26.920 [nioEventLoopGroup-228-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-10
17:12:26.920 [nioEventLoopGroup-228-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-7
17:12:26.920 [nioEventLoopGroup-228-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-8
17:12:26.920 [nioEventLoopGroup-228-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-9
17:12:26.920 [nioEventLoopGroup-228-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-11
17:12:26.920 [nioEventLoopGroup-228-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-12
17:12:26.920 [nioEventLoopGroup-228-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-13
17:12:26.920 [nioEventLoopGroup-228-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda5f6c57, /127.0.0.1:42232 :> /127.0.0.1:42741] INACTIVE
17:12:26.921 [nioEventLoopGroup-228-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda5f6c57, /127.0.0.1:42232 :> /127.0.0.1:42741] UNREGISTERED
17:12:26.944 [nioEventLoopGroup-212-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150c1137, /127.0.0.1:50770 :> /127.0.0.1:45275] FLUSH
17:12:26.945 [nioEventLoopGroup-212-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150c1137, /127.0.0.1:50770 :> /127.0.0.1:45275] INACTIVE
17:12:26.945 [nioEventLoopGroup-212-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150c1137, /127.0.0.1:50770 :> /127.0.0.1:45275] UNREGISTERED
17:12:26.945 [nioEventLoopGroup-212-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-15
17:12:26.995 [nioEventLoopGroup-196-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-196-14
17:12:27.275 [MockServer thread for port: 36360] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 36360
17:12:27.275 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.278 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf26b4302, /127.0.0.1:53768 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:27.279 [nioEventLoopGroup-244-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:27.280 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf26b4302, /127.0.0.1:53768 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.280 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf26b4302, /127.0.0.1:53768 => /127.0.0.1:36360] FLUSH
17:12:27.280 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf26b4302, /127.0.0.1:53768 => /127.0.0.1:36360] FLUSH
17:12:27.280 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.281 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf26b4302, /127.0.0.1:53768 :> /127.0.0.1:36360] INACTIVE
17:12:27.281 [nioEventLoopGroup-244-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf26b4302, /127.0.0.1:53768 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.283 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.283 [nioEventLoopGroup-245-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-245-1
17:12:27.286 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe016b696, /127.0.0.1:53772 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:27.292 [nioEventLoopGroup-244-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:27.292 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe016b696, /127.0.0.1:53772 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.292 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe016b696, /127.0.0.1:53772 => /127.0.0.1:36360] FLUSH
17:12:27.293 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.293 [nioEventLoopGroup-246-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-246-1
17:12:27.293 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe016b696, /127.0.0.1:53772 => /127.0.0.1:36360] FLUSH
17:12:27.293 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe016b696, /127.0.0.1:53772 :> /127.0.0.1:36360] INACTIVE
17:12:27.294 [nioEventLoopGroup-244-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe016b696, /127.0.0.1:53772 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.295 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.297 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1553eb52, /127.0.0.1:53778 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:27.299 [nioEventLoopGroup-244-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:27.299 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1553eb52, /127.0.0.1:53778 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.299 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1553eb52, /127.0.0.1:53778 => /127.0.0.1:36360] FLUSH
17:12:27.300 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.300 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1553eb52, /127.0.0.1:53778 => /127.0.0.1:36360] FLUSH
17:12:27.300 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1553eb52, /127.0.0.1:53778 :> /127.0.0.1:36360] INACTIVE
17:12:27.300 [nioEventLoopGroup-247-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-247-1
17:12:27.300 [nioEventLoopGroup-244-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1553eb52, /127.0.0.1:53778 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.301 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.311 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7567884, /127.0.0.1:53782 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.322 [nioEventLoopGroup-244-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:27.322 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7567884, /127.0.0.1:53782 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.322 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7567884, /127.0.0.1:53782 => /127.0.0.1:36360] FLUSH
17:12:27.323 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7567884, /127.0.0.1:53782 => /127.0.0.1:36360] FLUSH
17:12:27.323 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.323 [nioEventLoopGroup-248-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-248-1
17:12:27.323 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7567884, /127.0.0.1:53782 :> /127.0.0.1:36360] INACTIVE
17:12:27.323 [nioEventLoopGroup-244-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7567884, /127.0.0.1:53782 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.324 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.327 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9378ed4, /127.0.0.1:53786 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:27.328 [nioEventLoopGroup-244-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:27.328 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9378ed4, /127.0.0.1:53786 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.329 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9378ed4, /127.0.0.1:53786 => /127.0.0.1:36360] FLUSH
17:12:27.329 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.329 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9378ed4, /127.0.0.1:53786 => /127.0.0.1:36360] FLUSH
17:12:27.329 [nioEventLoopGroup-249-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-249-1
17:12:27.329 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9378ed4, /127.0.0.1:53786 :> /127.0.0.1:36360] INACTIVE
17:12:27.329 [nioEventLoopGroup-244-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9378ed4, /127.0.0.1:53786 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.330 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.333 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc0571fe, /127.0.0.1:53790 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:27.334 [nioEventLoopGroup-244-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:27.335 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc0571fe, /127.0.0.1:53790 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.335 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc0571fe, /127.0.0.1:53790 => /127.0.0.1:36360] FLUSH
17:12:27.336 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc0571fe, /127.0.0.1:53790 => /127.0.0.1:36360] FLUSH
17:12:27.335 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.336 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc0571fe, /127.0.0.1:53790 :> /127.0.0.1:36360] INACTIVE
17:12:27.336 [nioEventLoopGroup-250-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-250-1
17:12:27.336 [nioEventLoopGroup-244-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc0571fe, /127.0.0.1:53790 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.337 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.340 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15896284, /127.0.0.1:53794 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:27.341 [nioEventLoopGroup-244-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:27.341 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15896284, /127.0.0.1:53794 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.341 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15896284, /127.0.0.1:53794 => /127.0.0.1:36360] FLUSH
17:12:27.342 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.342 [nioEventLoopGroup-251-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-251-1
17:12:27.342 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15896284, /127.0.0.1:53794 => /127.0.0.1:36360] FLUSH
17:12:27.342 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15896284, /127.0.0.1:53794 :> /127.0.0.1:36360] INACTIVE
17:12:27.342 [nioEventLoopGroup-244-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15896284, /127.0.0.1:53794 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.343 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.348 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e21ab79, /127.0.0.1:53798 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.349 [nioEventLoopGroup-244-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:27.349 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e21ab79, /127.0.0.1:53798 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.349 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e21ab79, /127.0.0.1:53798 => /127.0.0.1:36360] FLUSH
17:12:27.349 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.349 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e21ab79, /127.0.0.1:53798 => /127.0.0.1:36360] FLUSH
17:12:27.350 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e21ab79, /127.0.0.1:53798 :> /127.0.0.1:36360] INACTIVE
17:12:27.350 [nioEventLoopGroup-252-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-252-1
17:12:27.350 [nioEventLoopGroup-244-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e21ab79, /127.0.0.1:53798 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.350 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.353 [nioEventLoopGroup-244-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb826fb97, /127.0.0.1:53800 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.354 [nioEventLoopGroup-244-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:27.354 [nioEventLoopGroup-244-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb826fb97, /127.0.0.1:53800 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.354 [nioEventLoopGroup-244-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb826fb97, /127.0.0.1:53800 => /127.0.0.1:36360] FLUSH
17:12:27.354 [nioEventLoopGroup-244-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb826fb97, /127.0.0.1:53800 => /127.0.0.1:36360] FLUSH
17:12:27.354 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.355 [nioEventLoopGroup-253-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-253-1
17:12:27.355 [nioEventLoopGroup-244-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb826fb97, /127.0.0.1:53800 :> /127.0.0.1:36360] INACTIVE
17:12:27.355 [nioEventLoopGroup-244-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb826fb97, /127.0.0.1:53800 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.356 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.358 [nioEventLoopGroup-244-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8644f638, /127.0.0.1:53802 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.359 [nioEventLoopGroup-244-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:27.359 [nioEventLoopGroup-244-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8644f638, /127.0.0.1:53802 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.359 [nioEventLoopGroup-244-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8644f638, /127.0.0.1:53802 => /127.0.0.1:36360] FLUSH
17:12:27.359 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.360 [nioEventLoopGroup-244-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8644f638, /127.0.0.1:53802 => /127.0.0.1:36360] FLUSH
17:12:27.360 [nioEventLoopGroup-244-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8644f638, /127.0.0.1:53802 :> /127.0.0.1:36360] INACTIVE
17:12:27.360 [nioEventLoopGroup-244-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8644f638, /127.0.0.1:53802 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.360 [nioEventLoopGroup-254-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-254-1
17:12:27.361 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.364 [nioEventLoopGroup-244-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9aa34ff3, /127.0.0.1:53804 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.365 [nioEventLoopGroup-244-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:27.365 [nioEventLoopGroup-244-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9aa34ff3, /127.0.0.1:53804 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.365 [nioEventLoopGroup-244-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9aa34ff3, /127.0.0.1:53804 => /127.0.0.1:36360] FLUSH
17:12:27.365 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.365 [nioEventLoopGroup-244-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9aa34ff3, /127.0.0.1:53804 => /127.0.0.1:36360] FLUSH
17:12:27.365 [nioEventLoopGroup-255-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-255-1
17:12:27.365 [nioEventLoopGroup-244-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9aa34ff3, /127.0.0.1:53804 :> /127.0.0.1:36360] INACTIVE
17:12:27.367 [nioEventLoopGroup-244-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9aa34ff3, /127.0.0.1:53804 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.368 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.370 [nioEventLoopGroup-244-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaaeca3e1, /127.0.0.1:53806 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:27.371 [nioEventLoopGroup-244-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:27.371 [nioEventLoopGroup-244-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaaeca3e1, /127.0.0.1:53806 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.371 [nioEventLoopGroup-244-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaaeca3e1, /127.0.0.1:53806 => /127.0.0.1:36360] FLUSH
17:12:27.372 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.372 [nioEventLoopGroup-244-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaaeca3e1, /127.0.0.1:53806 => /127.0.0.1:36360] FLUSH
17:12:27.372 [nioEventLoopGroup-244-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaaeca3e1, /127.0.0.1:53806 :> /127.0.0.1:36360] INACTIVE
17:12:27.372 [nioEventLoopGroup-256-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-256-1
17:12:27.372 [nioEventLoopGroup-244-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaaeca3e1, /127.0.0.1:53806 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.373 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.375 [nioEventLoopGroup-244-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x515cc9e1, /127.0.0.1:53808 => /127.0.0.1:36360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:27.377 [nioEventLoopGroup-244-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:27.377 [nioEventLoopGroup-244-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x515cc9e1, /127.0.0.1:53808 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.377 [nioEventLoopGroup-244-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x515cc9e1, /127.0.0.1:53808 => /127.0.0.1:36360] FLUSH
17:12:27.377 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.377 [nioEventLoopGroup-244-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x515cc9e1, /127.0.0.1:53808 => /127.0.0.1:36360] FLUSH
17:12:27.377 [nioEventLoopGroup-257-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-257-1
17:12:27.378 [nioEventLoopGroup-244-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x515cc9e1, /127.0.0.1:53808 :> /127.0.0.1:36360] INACTIVE
17:12:27.378 [nioEventLoopGroup-244-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x515cc9e1, /127.0.0.1:53808 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.380 [nioEventLoopGroup-244-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0cca34d, /127.0.0.1:53810 => /127.0.0.1:36360] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:36360
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:27.381 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.381 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.381 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:27.382 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.382 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.382 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.382 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.383 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.383 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.383 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.383 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:27.384 [nioEventLoopGroup-244-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:27.384 [nioEventLoopGroup-244-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0cca34d, /127.0.0.1:53810 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:27.384 [nioEventLoopGroup-244-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0cca34d, /127.0.0.1:53810 => /127.0.0.1:36360] FLUSH
17:12:27.386 [nioEventLoopGroup-244-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0cca34d, /127.0.0.1:53810 => /127.0.0.1:36360] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:36360
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:27.387 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.387 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.387 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:27.388 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.388 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.388 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.388 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.389 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.389 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.389 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.389 [nioEventLoopGroup-244-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:27.390 [nioEventLoopGroup-244-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:36360" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:27.390 [nioEventLoopGroup-244-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0cca34d, /127.0.0.1:53810 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:27.390 [nioEventLoopGroup-244-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0cca34d, /127.0.0.1:53810 => /127.0.0.1:36360] FLUSH
17:12:27.391 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:27.393 [nioEventLoopGroup-244-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c346300, /127.0.0.1:53812 => /127.0.0.1:36360] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:36360
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:27.393 [nioEventLoopGroup-244-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c346300, /127.0.0.1:53812 => /127.0.0.1:36360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.394 [nioEventLoopGroup-244-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c346300, /127.0.0.1:53812 => /127.0.0.1:36360] FLUSH
17:12:27.394 [nioEventLoopGroup-244-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c346300, /127.0.0.1:53812 => /127.0.0.1:36360] CLOSE()
17:12:27.394 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.394 [nioEventLoopGroup-258-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-258-1
17:12:27.400 [nioEventLoopGroup-244-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-2
17:12:27.400 [nioEventLoopGroup-244-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-8
17:12:27.400 [nioEventLoopGroup-244-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-4
17:12:27.400 [nioEventLoopGroup-244-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-1
17:12:27.400 [nioEventLoopGroup-244-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-11
17:12:27.400 [nioEventLoopGroup-244-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-3
17:12:27.400 [nioEventLoopGroup-244-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-12
17:12:27.400 [nioEventLoopGroup-244-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-5
17:12:27.400 [nioEventLoopGroup-244-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-13
17:12:27.400 [nioEventLoopGroup-244-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-6
17:12:27.400 [nioEventLoopGroup-244-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-7
17:12:27.400 [nioEventLoopGroup-244-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-9
17:12:27.400 [nioEventLoopGroup-244-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-10
17:12:27.400 [nioEventLoopGroup-244-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0cca34d, /127.0.0.1:53810 :> /127.0.0.1:36360] INACTIVE
17:12:27.401 [nioEventLoopGroup-244-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf0cca34d, /127.0.0.1:53810 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.421 [nioEventLoopGroup-228-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x77f5a0eb, /127.0.0.1:42234 :> /127.0.0.1:42741] FLUSH
17:12:27.421 [nioEventLoopGroup-228-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x77f5a0eb, /127.0.0.1:42234 :> /127.0.0.1:42741] INACTIVE
17:12:27.421 [nioEventLoopGroup-228-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x77f5a0eb, /127.0.0.1:42234 :> /127.0.0.1:42741] UNREGISTERED
17:12:27.421 [nioEventLoopGroup-228-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-15
17:12:27.459 [nioEventLoopGroup-212-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-212-14
17:12:27.753 [MockServer thread for port: 35390] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 35390
17:12:27.753 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.757 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e5adfa6, /127.0.0.1:57814 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:27.757 [nioEventLoopGroup-260-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:27.758 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e5adfa6, /127.0.0.1:57814 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.758 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e5adfa6, /127.0.0.1:57814 => /127.0.0.1:35390] FLUSH
17:12:27.759 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.759 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e5adfa6, /127.0.0.1:57814 => /127.0.0.1:35390] FLUSH
17:12:27.759 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e5adfa6, /127.0.0.1:57814 :> /127.0.0.1:35390] INACTIVE
17:12:27.759 [nioEventLoopGroup-260-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8e5adfa6, /127.0.0.1:57814 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.759 [nioEventLoopGroup-261-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-261-1
17:12:27.761 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.764 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d81ad90, /127.0.0.1:57820 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:27.765 [nioEventLoopGroup-260-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:27.766 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d81ad90, /127.0.0.1:57820 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.766 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d81ad90, /127.0.0.1:57820 => /127.0.0.1:35390] FLUSH
17:12:27.766 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d81ad90, /127.0.0.1:57820 => /127.0.0.1:35390] FLUSH
17:12:27.766 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.767 [nioEventLoopGroup-262-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-262-1
17:12:27.767 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d81ad90, /127.0.0.1:57820 :> /127.0.0.1:35390] INACTIVE
17:12:27.767 [nioEventLoopGroup-260-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2d81ad90, /127.0.0.1:57820 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.770 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.774 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab6e61ca, /127.0.0.1:57822 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:27.775 [nioEventLoopGroup-260-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:27.775 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab6e61ca, /127.0.0.1:57822 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.775 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab6e61ca, /127.0.0.1:57822 => /127.0.0.1:35390] FLUSH
17:12:27.775 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.776 [nioEventLoopGroup-263-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-263-1
17:12:27.776 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab6e61ca, /127.0.0.1:57822 => /127.0.0.1:35390] FLUSH
17:12:27.776 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab6e61ca, /127.0.0.1:57822 :> /127.0.0.1:35390] INACTIVE
17:12:27.776 [nioEventLoopGroup-260-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab6e61ca, /127.0.0.1:57822 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.788 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.791 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46e99d7b, /127.0.0.1:57828 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.793 [nioEventLoopGroup-260-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:27.798 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46e99d7b, /127.0.0.1:57828 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.798 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46e99d7b, /127.0.0.1:57828 => /127.0.0.1:35390] FLUSH
17:12:27.799 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46e99d7b, /127.0.0.1:57828 => /127.0.0.1:35390] FLUSH
17:12:27.799 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46e99d7b, /127.0.0.1:57828 :> /127.0.0.1:35390] INACTIVE
17:12:27.799 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.799 [nioEventLoopGroup-264-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-264-1
17:12:27.800 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.801 [nioEventLoopGroup-260-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46e99d7b, /127.0.0.1:57828 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.806 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ec0fc6d, /127.0.0.1:57832 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:27.807 [nioEventLoopGroup-260-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:27.807 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ec0fc6d, /127.0.0.1:57832 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.807 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ec0fc6d, /127.0.0.1:57832 => /127.0.0.1:35390] FLUSH
17:12:27.808 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.808 [nioEventLoopGroup-265-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-265-1
17:12:27.808 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ec0fc6d, /127.0.0.1:57832 => /127.0.0.1:35390] FLUSH
17:12:27.809 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.810 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ec0fc6d, /127.0.0.1:57832 :> /127.0.0.1:35390] INACTIVE
17:12:27.810 [nioEventLoopGroup-260-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ec0fc6d, /127.0.0.1:57832 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.813 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xebb0ae01, /127.0.0.1:57836 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:27.824 [nioEventLoopGroup-260-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:27.826 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xebb0ae01, /127.0.0.1:57836 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.826 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xebb0ae01, /127.0.0.1:57836 => /127.0.0.1:35390] FLUSH
17:12:27.827 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xebb0ae01, /127.0.0.1:57836 => /127.0.0.1:35390] FLUSH
17:12:27.827 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.827 [nioEventLoopGroup-266-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-266-1
17:12:27.828 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.829 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xebb0ae01, /127.0.0.1:57836 :> /127.0.0.1:35390] INACTIVE
17:12:27.829 [nioEventLoopGroup-260-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xebb0ae01, /127.0.0.1:57836 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.836 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda88df02, /127.0.0.1:57840 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:27.836 [nioEventLoopGroup-260-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:27.837 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda88df02, /127.0.0.1:57840 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.837 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda88df02, /127.0.0.1:57840 => /127.0.0.1:35390] FLUSH
17:12:27.837 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.837 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda88df02, /127.0.0.1:57840 => /127.0.0.1:35390] FLUSH
17:12:27.837 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda88df02, /127.0.0.1:57840 :> /127.0.0.1:35390] INACTIVE
17:12:27.837 [nioEventLoopGroup-260-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda88df02, /127.0.0.1:57840 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.837 [nioEventLoopGroup-267-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-267-1
17:12:27.838 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.840 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda644674, /127.0.0.1:57842 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.841 [nioEventLoopGroup-260-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:27.841 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda644674, /127.0.0.1:57842 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.841 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda644674, /127.0.0.1:57842 => /127.0.0.1:35390] FLUSH
17:12:27.841 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.841 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda644674, /127.0.0.1:57842 => /127.0.0.1:35390] FLUSH
17:12:27.842 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda644674, /127.0.0.1:57842 :> /127.0.0.1:35390] INACTIVE
17:12:27.842 [nioEventLoopGroup-260-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda644674, /127.0.0.1:57842 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.842 [nioEventLoopGroup-268-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-268-1
17:12:27.842 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.845 [nioEventLoopGroup-260-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05a417d2, /127.0.0.1:57844 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.846 [nioEventLoopGroup-260-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:27.846 [nioEventLoopGroup-260-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05a417d2, /127.0.0.1:57844 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.847 [nioEventLoopGroup-260-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05a417d2, /127.0.0.1:57844 => /127.0.0.1:35390] FLUSH
17:12:27.847 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.847 [nioEventLoopGroup-260-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05a417d2, /127.0.0.1:57844 => /127.0.0.1:35390] FLUSH
17:12:27.847 [nioEventLoopGroup-260-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05a417d2, /127.0.0.1:57844 :> /127.0.0.1:35390] INACTIVE
17:12:27.847 [nioEventLoopGroup-269-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-269-1
17:12:27.849 [nioEventLoopGroup-260-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x05a417d2, /127.0.0.1:57844 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.850 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.852 [nioEventLoopGroup-260-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9738a757, /127.0.0.1:57846 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.854 [nioEventLoopGroup-260-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:27.854 [nioEventLoopGroup-260-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9738a757, /127.0.0.1:57846 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.854 [nioEventLoopGroup-260-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9738a757, /127.0.0.1:57846 => /127.0.0.1:35390] FLUSH
17:12:27.855 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.855 [nioEventLoopGroup-260-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9738a757, /127.0.0.1:57846 => /127.0.0.1:35390] FLUSH
17:12:27.855 [nioEventLoopGroup-270-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-270-1
17:12:27.855 [nioEventLoopGroup-260-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9738a757, /127.0.0.1:57846 :> /127.0.0.1:35390] INACTIVE
17:12:27.855 [nioEventLoopGroup-260-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9738a757, /127.0.0.1:57846 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.856 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.858 [nioEventLoopGroup-260-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24b3c144, /127.0.0.1:57848 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:27.859 [nioEventLoopGroup-260-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:27.859 [nioEventLoopGroup-260-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24b3c144, /127.0.0.1:57848 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.859 [nioEventLoopGroup-260-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24b3c144, /127.0.0.1:57848 => /127.0.0.1:35390] FLUSH
17:12:27.859 [nioEventLoopGroup-260-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24b3c144, /127.0.0.1:57848 => /127.0.0.1:35390] FLUSH
17:12:27.859 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.859 [nioEventLoopGroup-260-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24b3c144, /127.0.0.1:57848 :> /127.0.0.1:35390] INACTIVE
17:12:27.860 [nioEventLoopGroup-271-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-271-1
17:12:27.860 [nioEventLoopGroup-260-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24b3c144, /127.0.0.1:57848 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.860 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.863 [nioEventLoopGroup-260-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21732344, /127.0.0.1:57850 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:27.864 [nioEventLoopGroup-260-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:27.865 [nioEventLoopGroup-260-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21732344, /127.0.0.1:57850 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.865 [nioEventLoopGroup-260-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21732344, /127.0.0.1:57850 => /127.0.0.1:35390] FLUSH
17:12:27.865 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.865 [nioEventLoopGroup-260-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21732344, /127.0.0.1:57850 => /127.0.0.1:35390] FLUSH
17:12:27.865 [nioEventLoopGroup-260-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21732344, /127.0.0.1:57850 :> /127.0.0.1:35390] INACTIVE
17:12:27.865 [nioEventLoopGroup-272-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-272-1
17:12:27.865 [nioEventLoopGroup-260-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x21732344, /127.0.0.1:57850 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.867 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:27.869 [nioEventLoopGroup-260-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4e663f5e, /127.0.0.1:57852 => /127.0.0.1:35390] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:27.870 [nioEventLoopGroup-260-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:27.870 [nioEventLoopGroup-260-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4e663f5e, /127.0.0.1:57852 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.870 [nioEventLoopGroup-260-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4e663f5e, /127.0.0.1:57852 => /127.0.0.1:35390] FLUSH
17:12:27.870 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.871 [nioEventLoopGroup-260-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4e663f5e, /127.0.0.1:57852 => /127.0.0.1:35390] FLUSH
17:12:27.871 [nioEventLoopGroup-260-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4e663f5e, /127.0.0.1:57852 :> /127.0.0.1:35390] INACTIVE
17:12:27.871 [nioEventLoopGroup-273-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-273-1
17:12:27.871 [nioEventLoopGroup-260-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4e663f5e, /127.0.0.1:57852 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.877 [nioEventLoopGroup-260-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dc48210, /127.0.0.1:57854 => /127.0.0.1:35390] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:35390
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:27.877 [nioEventLoopGroup-260-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.878 [nioEventLoopGroup-260-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.878 [nioEventLoopGroup-260-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:27.878 [nioEventLoopGroup-260-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.879 [nioEventLoopGroup-260-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.879 [nioEventLoopGroup-260-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.879 [nioEventLoopGroup-260-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.879 [nioEventLoopGroup-260-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:27.880 [nioEventLoopGroup-260-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:27.880 [nioEventLoopGroup-260-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dc48210, /127.0.0.1:57854 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:27.880 [nioEventLoopGroup-260-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dc48210, /127.0.0.1:57854 => /127.0.0.1:35390] FLUSH
17:12:27.887 [nioEventLoopGroup-260-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fe9518b, /127.0.0.1:57856 => /127.0.0.1:35390] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Host: localhost:35390
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:27.887 [nioEventLoopGroup-260-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.888 [nioEventLoopGroup-260-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.888 [nioEventLoopGroup-260-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:27.888 [nioEventLoopGroup-260-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.889 [nioEventLoopGroup-260-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.889 [nioEventLoopGroup-260-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.889 [nioEventLoopGroup-260-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:27.890 [nioEventLoopGroup-260-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:27.890 [nioEventLoopGroup-260-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35390" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:27.890 [nioEventLoopGroup-260-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fe9518b, /127.0.0.1:57856 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:27.890 [nioEventLoopGroup-260-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fe9518b, /127.0.0.1:57856 => /127.0.0.1:35390] FLUSH
17:12:27.891 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:27.894 [nioEventLoopGroup-260-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5743f22c, /127.0.0.1:57858 => /127.0.0.1:35390] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:35390
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:27.894 [nioEventLoopGroup-260-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5743f22c, /127.0.0.1:57858 => /127.0.0.1:35390] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:27.894 [nioEventLoopGroup-260-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5743f22c, /127.0.0.1:57858 => /127.0.0.1:35390] FLUSH
17:12:27.894 [nioEventLoopGroup-260-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5743f22c, /127.0.0.1:57858 => /127.0.0.1:35390] CLOSE()
17:12:27.894 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:27.895 [nioEventLoopGroup-274-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-274-1
17:12:27.895 [nioEventLoopGroup-260-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-7
17:12:27.895 [nioEventLoopGroup-260-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-1
17:12:27.895 [nioEventLoopGroup-260-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fe9518b, /127.0.0.1:57856 :> /127.0.0.1:35390] INACTIVE
17:12:27.895 [nioEventLoopGroup-260-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-11
17:12:27.895 [nioEventLoopGroup-260-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1fe9518b, /127.0.0.1:57856 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.895 [nioEventLoopGroup-260-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-2
17:12:27.895 [nioEventLoopGroup-260-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-12
17:12:27.895 [nioEventLoopGroup-260-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dc48210, /127.0.0.1:57854 :> /127.0.0.1:35390] INACTIVE
17:12:27.895 [nioEventLoopGroup-260-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-3
17:12:27.895 [nioEventLoopGroup-260-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-5
17:12:27.895 [nioEventLoopGroup-260-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-6
17:12:27.895 [nioEventLoopGroup-260-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-4
17:12:27.895 [nioEventLoopGroup-260-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-8
17:12:27.896 [nioEventLoopGroup-260-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-9
17:12:27.896 [nioEventLoopGroup-260-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2dc48210, /127.0.0.1:57854 :> /127.0.0.1:35390] UNREGISTERED
17:12:27.896 [nioEventLoopGroup-260-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-10
17:12:27.896 [nioEventLoopGroup-260-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-13
17:12:27.900 [nioEventLoopGroup-244-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c346300, /127.0.0.1:53812 :> /127.0.0.1:36360] FLUSH
17:12:27.900 [nioEventLoopGroup-244-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c346300, /127.0.0.1:53812 :> /127.0.0.1:36360] INACTIVE
17:12:27.900 [nioEventLoopGroup-244-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0c346300, /127.0.0.1:53812 :> /127.0.0.1:36360] UNREGISTERED
17:12:27.900 [nioEventLoopGroup-244-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-15
17:12:27.922 [nioEventLoopGroup-228-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-228-14
17:12:28.250 [MockServer thread for port: 42969] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 42969
17:12:28.250 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.254 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8707efb7, /127.0.0.1:42752 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:28.256 [nioEventLoopGroup-276-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:28.257 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8707efb7, /127.0.0.1:42752 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.257 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8707efb7, /127.0.0.1:42752 => /127.0.0.1:42969] FLUSH
17:12:28.259 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8707efb7, /127.0.0.1:42752 => /127.0.0.1:42969] FLUSH
17:12:28.259 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8707efb7, /127.0.0.1:42752 :> /127.0.0.1:42969] INACTIVE
17:12:28.260 [nioEventLoopGroup-276-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8707efb7, /127.0.0.1:42752 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.259 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.265 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.268 [nioEventLoopGroup-277-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-277-1
17:12:28.272 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63f2600c, /127.0.0.1:42754 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:28.274 [nioEventLoopGroup-276-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:28.274 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63f2600c, /127.0.0.1:42754 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.274 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63f2600c, /127.0.0.1:42754 => /127.0.0.1:42969] FLUSH
17:12:28.274 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.274 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63f2600c, /127.0.0.1:42754 => /127.0.0.1:42969] FLUSH
17:12:28.275 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63f2600c, /127.0.0.1:42754 :> /127.0.0.1:42969] INACTIVE
17:12:28.275 [nioEventLoopGroup-276-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x63f2600c, /127.0.0.1:42754 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.275 [nioEventLoopGroup-278-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-278-1
17:12:28.276 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.279 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61f23901, /127.0.0.1:42756 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:28.280 [nioEventLoopGroup-276-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:28.280 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61f23901, /127.0.0.1:42756 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.280 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61f23901, /127.0.0.1:42756 => /127.0.0.1:42969] FLUSH
17:12:28.280 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.281 [nioEventLoopGroup-279-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-279-1
17:12:28.281 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61f23901, /127.0.0.1:42756 => /127.0.0.1:42969] FLUSH
17:12:28.281 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61f23901, /127.0.0.1:42756 :> /127.0.0.1:42969] INACTIVE
17:12:28.281 [nioEventLoopGroup-276-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61f23901, /127.0.0.1:42756 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.282 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.300 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d8cf7a, /127.0.0.1:42760 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.301 [nioEventLoopGroup-276-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:28.302 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d8cf7a, /127.0.0.1:42760 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.302 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d8cf7a, /127.0.0.1:42760 => /127.0.0.1:42969] FLUSH
17:12:28.302 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.302 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d8cf7a, /127.0.0.1:42760 => /127.0.0.1:42969] FLUSH
17:12:28.302 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d8cf7a, /127.0.0.1:42760 :> /127.0.0.1:42969] INACTIVE
17:12:28.302 [nioEventLoopGroup-276-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3d8cf7a, /127.0.0.1:42760 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.302 [nioEventLoopGroup-280-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-280-1
17:12:28.305 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.311 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7d88219, /127.0.0.1:42766 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:28.312 [nioEventLoopGroup-276-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:28.313 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7d88219, /127.0.0.1:42766 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.313 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7d88219, /127.0.0.1:42766 => /127.0.0.1:42969] FLUSH
17:12:28.313 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.313 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7d88219, /127.0.0.1:42766 => /127.0.0.1:42969] FLUSH
17:12:28.313 [nioEventLoopGroup-281-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-281-1
17:12:28.314 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7d88219, /127.0.0.1:42766 :> /127.0.0.1:42969] INACTIVE
17:12:28.314 [nioEventLoopGroup-276-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7d88219, /127.0.0.1:42766 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.319 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.327 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe481b2ad, /127.0.0.1:42768 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:28.328 [nioEventLoopGroup-276-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:28.328 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe481b2ad, /127.0.0.1:42768 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.330 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe481b2ad, /127.0.0.1:42768 => /127.0.0.1:42969] FLUSH
17:12:28.330 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.331 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.332 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe481b2ad, /127.0.0.1:42768 => /127.0.0.1:42969] FLUSH
17:12:28.332 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe481b2ad, /127.0.0.1:42768 :> /127.0.0.1:42969] INACTIVE
17:12:28.332 [nioEventLoopGroup-276-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe481b2ad, /127.0.0.1:42768 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.334 [nioEventLoopGroup-282-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-282-1
17:12:28.341 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x248f37f5, /127.0.0.1:42770 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:28.343 [nioEventLoopGroup-276-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:28.343 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x248f37f5, /127.0.0.1:42770 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.343 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x248f37f5, /127.0.0.1:42770 => /127.0.0.1:42969] FLUSH
17:12:28.344 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.344 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x248f37f5, /127.0.0.1:42770 => /127.0.0.1:42969] FLUSH
17:12:28.344 [nioEventLoopGroup-283-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-283-1
17:12:28.344 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x248f37f5, /127.0.0.1:42770 :> /127.0.0.1:42969] INACTIVE
17:12:28.344 [nioEventLoopGroup-276-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x248f37f5, /127.0.0.1:42770 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.345 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.348 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe75ecf8e, /127.0.0.1:42772 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.349 [nioEventLoopGroup-276-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:28.349 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe75ecf8e, /127.0.0.1:42772 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.349 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe75ecf8e, /127.0.0.1:42772 => /127.0.0.1:42969] FLUSH
17:12:28.350 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe75ecf8e, /127.0.0.1:42772 => /127.0.0.1:42969] FLUSH
17:12:28.350 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.350 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe75ecf8e, /127.0.0.1:42772 :> /127.0.0.1:42969] INACTIVE
17:12:28.350 [nioEventLoopGroup-276-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe75ecf8e, /127.0.0.1:42772 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.350 [nioEventLoopGroup-284-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-284-1
17:12:28.351 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.355 [nioEventLoopGroup-276-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5d7110b, /127.0.0.1:42774 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.356 [nioEventLoopGroup-276-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:28.357 [nioEventLoopGroup-276-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5d7110b, /127.0.0.1:42774 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.357 [nioEventLoopGroup-276-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5d7110b, /127.0.0.1:42774 => /127.0.0.1:42969] FLUSH
17:12:28.357 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.357 [nioEventLoopGroup-276-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5d7110b, /127.0.0.1:42774 => /127.0.0.1:42969] FLUSH
17:12:28.358 [nioEventLoopGroup-276-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5d7110b, /127.0.0.1:42774 :> /127.0.0.1:42969] INACTIVE
17:12:28.358 [nioEventLoopGroup-285-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-285-1
17:12:28.358 [nioEventLoopGroup-276-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5d7110b, /127.0.0.1:42774 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.359 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.361 [nioEventLoopGroup-276-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14231e86, /127.0.0.1:42776 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.362 [nioEventLoopGroup-276-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:28.362 [nioEventLoopGroup-276-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14231e86, /127.0.0.1:42776 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.362 [nioEventLoopGroup-276-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14231e86, /127.0.0.1:42776 => /127.0.0.1:42969] FLUSH
17:12:28.362 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.362 [nioEventLoopGroup-276-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14231e86, /127.0.0.1:42776 => /127.0.0.1:42969] FLUSH
17:12:28.363 [nioEventLoopGroup-276-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14231e86, /127.0.0.1:42776 :> /127.0.0.1:42969] INACTIVE
17:12:28.363 [nioEventLoopGroup-286-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-286-1
17:12:28.363 [nioEventLoopGroup-276-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x14231e86, /127.0.0.1:42776 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.363 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.366 [nioEventLoopGroup-276-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb05f9c27, /127.0.0.1:42778 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.367 [nioEventLoopGroup-276-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:28.367 [nioEventLoopGroup-276-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb05f9c27, /127.0.0.1:42778 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.367 [nioEventLoopGroup-276-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb05f9c27, /127.0.0.1:42778 => /127.0.0.1:42969] FLUSH
17:12:28.368 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.368 [nioEventLoopGroup-276-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb05f9c27, /127.0.0.1:42778 => /127.0.0.1:42969] FLUSH
17:12:28.368 [nioEventLoopGroup-276-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb05f9c27, /127.0.0.1:42778 :> /127.0.0.1:42969] INACTIVE
17:12:28.368 [nioEventLoopGroup-276-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb05f9c27, /127.0.0.1:42778 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.368 [nioEventLoopGroup-287-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-287-1
17:12:28.369 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.371 [nioEventLoopGroup-276-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe3a778, /127.0.0.1:42780 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:28.372 [nioEventLoopGroup-276-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:28.373 [nioEventLoopGroup-276-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe3a778, /127.0.0.1:42780 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.373 [nioEventLoopGroup-276-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe3a778, /127.0.0.1:42780 => /127.0.0.1:42969] FLUSH
17:12:28.373 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.373 [nioEventLoopGroup-288-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-288-1
17:12:28.374 [nioEventLoopGroup-276-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe3a778, /127.0.0.1:42780 => /127.0.0.1:42969] FLUSH
17:12:28.374 [nioEventLoopGroup-276-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe3a778, /127.0.0.1:42780 :> /127.0.0.1:42969] INACTIVE
17:12:28.374 [nioEventLoopGroup-276-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xefe3a778, /127.0.0.1:42780 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.374 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.377 [nioEventLoopGroup-276-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1063687f, /127.0.0.1:42782 => /127.0.0.1:42969] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:28.378 [nioEventLoopGroup-276-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:28.379 [nioEventLoopGroup-276-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1063687f, /127.0.0.1:42782 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.379 [nioEventLoopGroup-276-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1063687f, /127.0.0.1:42782 => /127.0.0.1:42969] FLUSH
17:12:28.379 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.379 [nioEventLoopGroup-276-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1063687f, /127.0.0.1:42782 => /127.0.0.1:42969] FLUSH
17:12:28.379 [nioEventLoopGroup-289-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-289-1
17:12:28.379 [nioEventLoopGroup-276-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1063687f, /127.0.0.1:42782 :> /127.0.0.1:42969] INACTIVE
17:12:28.379 [nioEventLoopGroup-276-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1063687f, /127.0.0.1:42782 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.384 [nioEventLoopGroup-276-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e34b9f1, /127.0.0.1:42784 => /127.0.0.1:42969] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:42969
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:28.385 [nioEventLoopGroup-276-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.385 [nioEventLoopGroup-276-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.385 [nioEventLoopGroup-276-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:28.386 [nioEventLoopGroup-276-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.386 [nioEventLoopGroup-276-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.386 [nioEventLoopGroup-276-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.387 [nioEventLoopGroup-276-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.387 [nioEventLoopGroup-276-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.387 [nioEventLoopGroup-276-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:28.388 [nioEventLoopGroup-276-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:28.388 [nioEventLoopGroup-276-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e34b9f1, /127.0.0.1:42784 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:28.388 [nioEventLoopGroup-276-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e34b9f1, /127.0.0.1:42784 => /127.0.0.1:42969] FLUSH
17:12:28.393 [nioEventLoopGroup-276-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6561b04, /127.0.0.1:42786 => /127.0.0.1:42969] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Host: localhost:42969
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:28.393 [nioEventLoopGroup-276-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.393 [nioEventLoopGroup-276-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.394 [nioEventLoopGroup-276-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:28.394 [nioEventLoopGroup-276-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.394 [nioEventLoopGroup-276-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.394 [nioEventLoopGroup-276-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.394 [nioEventLoopGroup-276-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.395 [nioEventLoopGroup-276-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.395 [nioEventLoopGroup-276-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:28.395 [nioEventLoopGroup-276-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:42969" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:28.395 [nioEventLoopGroup-260-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5743f22c, /127.0.0.1:57858 :> /127.0.0.1:35390] FLUSH
17:12:28.395 [nioEventLoopGroup-260-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5743f22c, /127.0.0.1:57858 :> /127.0.0.1:35390] INACTIVE
17:12:28.395 [nioEventLoopGroup-260-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5743f22c, /127.0.0.1:57858 :> /127.0.0.1:35390] UNREGISTERED
17:12:28.395 [nioEventLoopGroup-276-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6561b04, /127.0.0.1:42786 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:28.395 [nioEventLoopGroup-276-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6561b04, /127.0.0.1:42786 => /127.0.0.1:42969] FLUSH
17:12:28.395 [nioEventLoopGroup-260-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-16
17:12:28.396 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:28.398 [nioEventLoopGroup-276-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10e5f49e, /127.0.0.1:42788 => /127.0.0.1:42969] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:42969
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:28.398 [nioEventLoopGroup-276-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10e5f49e, /127.0.0.1:42788 => /127.0.0.1:42969] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.398 [nioEventLoopGroup-276-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10e5f49e, /127.0.0.1:42788 => /127.0.0.1:42969] FLUSH
17:12:28.398 [nioEventLoopGroup-276-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10e5f49e, /127.0.0.1:42788 => /127.0.0.1:42969] CLOSE()
17:12:28.399 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.399 [nioEventLoopGroup-290-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-290-1
17:12:28.400 [nioEventLoopGroup-276-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-1
17:12:28.400 [nioEventLoopGroup-276-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-2
17:12:28.400 [nioEventLoopGroup-276-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-3
17:12:28.400 [nioEventLoopGroup-276-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-4
17:12:28.400 [nioEventLoopGroup-276-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-5
17:12:28.400 [nioEventLoopGroup-276-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-6
17:12:28.401 [nioEventLoopGroup-276-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-7
17:12:28.401 [nioEventLoopGroup-276-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-8
17:12:28.401 [nioEventLoopGroup-276-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-9
17:12:28.401 [nioEventLoopGroup-276-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-10
17:12:28.401 [nioEventLoopGroup-276-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-11
17:12:28.401 [nioEventLoopGroup-276-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-12
17:12:28.401 [nioEventLoopGroup-276-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-13
17:12:28.401 [nioEventLoopGroup-276-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e34b9f1, /127.0.0.1:42784 :> /127.0.0.1:42969] INACTIVE
17:12:28.401 [nioEventLoopGroup-276-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e34b9f1, /127.0.0.1:42784 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.402 [nioEventLoopGroup-276-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6561b04, /127.0.0.1:42786 :> /127.0.0.1:42969] INACTIVE
17:12:28.402 [nioEventLoopGroup-276-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf6561b04, /127.0.0.1:42786 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.402 [nioEventLoopGroup-244-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-244-14
17:12:28.755 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.756 [MockServer thread for port: 37117] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 37117
17:12:28.760 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8efc1ada, /127.0.0.1:57228 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:28.762 [nioEventLoopGroup-292-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:28.762 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8efc1ada, /127.0.0.1:57228 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.762 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8efc1ada, /127.0.0.1:57228 => /127.0.0.1:37117] FLUSH
17:12:28.763 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.763 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8efc1ada, /127.0.0.1:57228 => /127.0.0.1:37117] FLUSH
17:12:28.763 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8efc1ada, /127.0.0.1:57228 :> /127.0.0.1:37117] INACTIVE
17:12:28.763 [nioEventLoopGroup-292-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8efc1ada, /127.0.0.1:57228 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.763 [nioEventLoopGroup-293-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-293-1
17:12:28.768 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.773 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab0d1139, /127.0.0.1:57232 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:28.775 [nioEventLoopGroup-292-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:28.776 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab0d1139, /127.0.0.1:57232 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.776 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab0d1139, /127.0.0.1:57232 => /127.0.0.1:37117] FLUSH
17:12:28.776 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.776 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab0d1139, /127.0.0.1:57232 => /127.0.0.1:37117] FLUSH
17:12:28.777 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab0d1139, /127.0.0.1:57232 :> /127.0.0.1:37117] INACTIVE
17:12:28.777 [nioEventLoopGroup-294-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-294-1
17:12:28.777 [nioEventLoopGroup-292-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xab0d1139, /127.0.0.1:57232 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.778 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.781 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x660c9ae6, /127.0.0.1:57236 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:28.782 [nioEventLoopGroup-292-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:28.782 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x660c9ae6, /127.0.0.1:57236 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.782 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x660c9ae6, /127.0.0.1:57236 => /127.0.0.1:37117] FLUSH
17:12:28.783 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.783 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x660c9ae6, /127.0.0.1:57236 => /127.0.0.1:37117] FLUSH
17:12:28.783 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x660c9ae6, /127.0.0.1:57236 :> /127.0.0.1:37117] INACTIVE
17:12:28.783 [nioEventLoopGroup-292-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x660c9ae6, /127.0.0.1:57236 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.784 [nioEventLoopGroup-295-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-295-1
17:12:28.785 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.793 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7163b7fd, /127.0.0.1:57240 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.794 [nioEventLoopGroup-292-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:28.795 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7163b7fd, /127.0.0.1:57240 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.795 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7163b7fd, /127.0.0.1:57240 => /127.0.0.1:37117] FLUSH
17:12:28.795 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.796 [nioEventLoopGroup-296-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-296-1
17:12:28.796 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7163b7fd, /127.0.0.1:57240 => /127.0.0.1:37117] FLUSH
17:12:28.796 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7163b7fd, /127.0.0.1:57240 :> /127.0.0.1:37117] INACTIVE
17:12:28.796 [nioEventLoopGroup-292-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7163b7fd, /127.0.0.1:57240 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.797 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.803 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x41635683, /127.0.0.1:57242 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:28.805 [nioEventLoopGroup-292-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:28.806 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x41635683, /127.0.0.1:57242 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.806 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x41635683, /127.0.0.1:57242 => /127.0.0.1:37117] FLUSH
17:12:28.806 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.807 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x41635683, /127.0.0.1:57242 => /127.0.0.1:37117] FLUSH
17:12:28.807 [nioEventLoopGroup-297-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-297-1
17:12:28.807 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x41635683, /127.0.0.1:57242 :> /127.0.0.1:37117] INACTIVE
17:12:28.808 [nioEventLoopGroup-292-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x41635683, /127.0.0.1:57242 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.809 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.814 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71f74a4, /127.0.0.1:57246 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:28.817 [nioEventLoopGroup-292-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:28.818 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71f74a4, /127.0.0.1:57246 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.818 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71f74a4, /127.0.0.1:57246 => /127.0.0.1:37117] FLUSH
17:12:28.818 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.819 [nioEventLoopGroup-298-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-298-1
17:12:28.819 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71f74a4, /127.0.0.1:57246 => /127.0.0.1:37117] FLUSH
17:12:28.819 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71f74a4, /127.0.0.1:57246 :> /127.0.0.1:37117] INACTIVE
17:12:28.819 [nioEventLoopGroup-292-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc71f74a4, /127.0.0.1:57246 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.827 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.833 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2932ae3e, /127.0.0.1:57250 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:28.834 [nioEventLoopGroup-292-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:28.834 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2932ae3e, /127.0.0.1:57250 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.835 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2932ae3e, /127.0.0.1:57250 => /127.0.0.1:37117] FLUSH
17:12:28.835 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.835 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2932ae3e, /127.0.0.1:57250 => /127.0.0.1:37117] FLUSH
17:12:28.835 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2932ae3e, /127.0.0.1:57250 :> /127.0.0.1:37117] INACTIVE
17:12:28.835 [nioEventLoopGroup-292-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2932ae3e, /127.0.0.1:57250 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.835 [nioEventLoopGroup-299-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-299-1
17:12:28.836 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.840 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ee6cf03, /127.0.0.1:57252 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.840 [nioEventLoopGroup-292-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:28.841 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ee6cf03, /127.0.0.1:57252 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.841 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ee6cf03, /127.0.0.1:57252 => /127.0.0.1:37117] FLUSH
17:12:28.841 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ee6cf03, /127.0.0.1:57252 => /127.0.0.1:37117] FLUSH
17:12:28.841 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.842 [nioEventLoopGroup-300-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-300-1
17:12:28.842 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ee6cf03, /127.0.0.1:57252 :> /127.0.0.1:37117] INACTIVE
17:12:28.842 [nioEventLoopGroup-292-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7ee6cf03, /127.0.0.1:57252 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.843 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.846 [nioEventLoopGroup-292-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4da17bd, /127.0.0.1:57254 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.847 [nioEventLoopGroup-292-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:28.848 [nioEventLoopGroup-292-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4da17bd, /127.0.0.1:57254 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.848 [nioEventLoopGroup-292-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4da17bd, /127.0.0.1:57254 => /127.0.0.1:37117] FLUSH
17:12:28.848 [nioEventLoopGroup-292-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4da17bd, /127.0.0.1:57254 => /127.0.0.1:37117] FLUSH
17:12:28.848 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.849 [nioEventLoopGroup-301-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-301-1
17:12:28.849 [nioEventLoopGroup-292-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4da17bd, /127.0.0.1:57254 :> /127.0.0.1:37117] INACTIVE
17:12:28.849 [nioEventLoopGroup-292-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf4da17bd, /127.0.0.1:57254 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.850 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.852 [nioEventLoopGroup-292-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3a91c6c, /127.0.0.1:57256 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.852 [nioEventLoopGroup-292-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:28.852 [nioEventLoopGroup-292-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3a91c6c, /127.0.0.1:57256 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.853 [nioEventLoopGroup-292-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3a91c6c, /127.0.0.1:57256 => /127.0.0.1:37117] FLUSH
17:12:28.853 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.853 [nioEventLoopGroup-292-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3a91c6c, /127.0.0.1:57256 => /127.0.0.1:37117] FLUSH
17:12:28.853 [nioEventLoopGroup-292-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3a91c6c, /127.0.0.1:57256 :> /127.0.0.1:37117] INACTIVE
17:12:28.853 [nioEventLoopGroup-302-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-302-1
17:12:28.853 [nioEventLoopGroup-292-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa3a91c6c, /127.0.0.1:57256 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.854 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.856 [nioEventLoopGroup-292-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2544a5b, /127.0.0.1:57258 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:28.857 [nioEventLoopGroup-292-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:28.857 [nioEventLoopGroup-292-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2544a5b, /127.0.0.1:57258 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.857 [nioEventLoopGroup-292-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2544a5b, /127.0.0.1:57258 => /127.0.0.1:37117] FLUSH
17:12:28.857 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.857 [nioEventLoopGroup-292-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2544a5b, /127.0.0.1:57258 => /127.0.0.1:37117] FLUSH
17:12:28.857 [nioEventLoopGroup-292-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2544a5b, /127.0.0.1:57258 :> /127.0.0.1:37117] INACTIVE
17:12:28.857 [nioEventLoopGroup-292-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2544a5b, /127.0.0.1:57258 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.857 [nioEventLoopGroup-303-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-303-1
17:12:28.859 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.862 [nioEventLoopGroup-292-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a0c9064, /127.0.0.1:57260 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:28.863 [nioEventLoopGroup-292-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:28.863 [nioEventLoopGroup-292-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a0c9064, /127.0.0.1:57260 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.863 [nioEventLoopGroup-292-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a0c9064, /127.0.0.1:57260 => /127.0.0.1:37117] FLUSH
17:12:28.864 [nioEventLoopGroup-292-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a0c9064, /127.0.0.1:57260 => /127.0.0.1:37117] FLUSH
17:12:28.864 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.864 [nioEventLoopGroup-292-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a0c9064, /127.0.0.1:57260 :> /127.0.0.1:37117] INACTIVE
17:12:28.864 [nioEventLoopGroup-292-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3a0c9064, /127.0.0.1:57260 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.864 [nioEventLoopGroup-304-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-304-1
17:12:28.865 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:28.867 [nioEventLoopGroup-292-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c8320f6, /127.0.0.1:57262 => /127.0.0.1:37117] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:28.868 [nioEventLoopGroup-292-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:28.868 [nioEventLoopGroup-292-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c8320f6, /127.0.0.1:57262 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.868 [nioEventLoopGroup-292-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c8320f6, /127.0.0.1:57262 => /127.0.0.1:37117] FLUSH
17:12:28.869 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.869 [nioEventLoopGroup-292-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c8320f6, /127.0.0.1:57262 => /127.0.0.1:37117] FLUSH
17:12:28.869 [nioEventLoopGroup-292-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c8320f6, /127.0.0.1:57262 :> /127.0.0.1:37117] INACTIVE
17:12:28.869 [nioEventLoopGroup-292-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c8320f6, /127.0.0.1:57262 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.869 [nioEventLoopGroup-305-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-305-1
17:12:28.874 [nioEventLoopGroup-292-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7be02499, /127.0.0.1:57264 => /127.0.0.1:37117] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:37117
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:28.875 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.875 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.875 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:28.875 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.876 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.876 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.876 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.876 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.876 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.877 [nioEventLoopGroup-292-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:28.877 [nioEventLoopGroup-292-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:28.877 [nioEventLoopGroup-292-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7be02499, /127.0.0.1:57264 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:28.877 [nioEventLoopGroup-292-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7be02499, /127.0.0.1:57264 => /127.0.0.1:37117] FLUSH
17:12:28.882 [nioEventLoopGroup-292-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb774507, /127.0.0.1:57266 => /127.0.0.1:37117] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Host: localhost:37117
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:28.882 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.882 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.882 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:28.883 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.883 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.883 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.883 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.884 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.884 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:28.884 [nioEventLoopGroup-292-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:28.885 [nioEventLoopGroup-292-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37117" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:28.885 [nioEventLoopGroup-292-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb774507, /127.0.0.1:57266 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:28.885 [nioEventLoopGroup-292-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb774507, /127.0.0.1:57266 => /127.0.0.1:37117] FLUSH
17:12:28.886 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:28.888 [nioEventLoopGroup-292-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59af8c12, /127.0.0.1:57268 => /127.0.0.1:37117] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:37117
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:28.888 [nioEventLoopGroup-292-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59af8c12, /127.0.0.1:57268 => /127.0.0.1:37117] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:28.888 [nioEventLoopGroup-292-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59af8c12, /127.0.0.1:57268 => /127.0.0.1:37117] FLUSH
17:12:28.888 [nioEventLoopGroup-292-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59af8c12, /127.0.0.1:57268 => /127.0.0.1:37117] CLOSE()
17:12:28.888 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:28.889 [nioEventLoopGroup-306-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-306-1
17:12:28.890 [nioEventLoopGroup-292-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-2
17:12:28.890 [nioEventLoopGroup-292-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-4
17:12:28.890 [nioEventLoopGroup-292-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-5
17:12:28.890 [nioEventLoopGroup-292-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-1
17:12:28.890 [nioEventLoopGroup-292-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-6
17:12:28.890 [nioEventLoopGroup-292-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-3
17:12:28.890 [nioEventLoopGroup-292-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-7
17:12:28.890 [nioEventLoopGroup-292-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-8
17:12:28.890 [nioEventLoopGroup-292-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-9
17:12:28.890 [nioEventLoopGroup-292-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-10
17:12:28.890 [nioEventLoopGroup-292-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-11
17:12:28.890 [nioEventLoopGroup-292-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-13
17:12:28.890 [nioEventLoopGroup-292-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-12
17:12:28.890 [nioEventLoopGroup-292-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7be02499, /127.0.0.1:57264 :> /127.0.0.1:37117] INACTIVE
17:12:28.890 [nioEventLoopGroup-292-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7be02499, /127.0.0.1:57264 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.890 [nioEventLoopGroup-292-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb774507, /127.0.0.1:57266 :> /127.0.0.1:37117] INACTIVE
17:12:28.891 [nioEventLoopGroup-292-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb774507, /127.0.0.1:57266 :> /127.0.0.1:37117] UNREGISTERED
17:12:28.896 [nioEventLoopGroup-260-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-15
17:12:28.897 [nioEventLoopGroup-260-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-260-14
17:12:28.902 [nioEventLoopGroup-276-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10e5f49e, /127.0.0.1:42788 :> /127.0.0.1:42969] FLUSH
17:12:28.902 [nioEventLoopGroup-276-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10e5f49e, /127.0.0.1:42788 :> /127.0.0.1:42969] INACTIVE
17:12:28.902 [nioEventLoopGroup-276-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x10e5f49e, /127.0.0.1:42788 :> /127.0.0.1:42969] UNREGISTERED
17:12:28.902 [nioEventLoopGroup-276-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-16
17:12:29.243 [MockServer thread for port: 38253] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 38253
17:12:29.244 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.247 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79671503, /127.0.0.1:46594 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:29.248 [nioEventLoopGroup-308-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:29.249 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79671503, /127.0.0.1:46594 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.250 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79671503, /127.0.0.1:46594 => /127.0.0.1:38253] FLUSH
17:12:29.250 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.250 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79671503, /127.0.0.1:46594 => /127.0.0.1:38253] FLUSH
17:12:29.250 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79671503, /127.0.0.1:46594 :> /127.0.0.1:38253] INACTIVE
17:12:29.251 [nioEventLoopGroup-308-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x79671503, /127.0.0.1:46594 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.251 [nioEventLoopGroup-309-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-309-1
17:12:29.252 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.256 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3dc80a31, /127.0.0.1:46596 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:29.257 [nioEventLoopGroup-308-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:29.258 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3dc80a31, /127.0.0.1:46596 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.258 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3dc80a31, /127.0.0.1:46596 => /127.0.0.1:38253] FLUSH
17:12:29.258 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.259 [nioEventLoopGroup-310-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-310-1
17:12:29.259 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3dc80a31, /127.0.0.1:46596 => /127.0.0.1:38253] FLUSH
17:12:29.259 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3dc80a31, /127.0.0.1:46596 :> /127.0.0.1:38253] INACTIVE
17:12:29.259 [nioEventLoopGroup-308-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3dc80a31, /127.0.0.1:46596 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.260 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.268 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69909405, /127.0.0.1:46601 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:29.269 [nioEventLoopGroup-308-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:29.270 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69909405, /127.0.0.1:46601 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.270 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69909405, /127.0.0.1:46601 => /127.0.0.1:38253] FLUSH
17:12:29.270 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69909405, /127.0.0.1:46601 => /127.0.0.1:38253] FLUSH
17:12:29.270 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.270 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69909405, /127.0.0.1:46601 :> /127.0.0.1:38253] INACTIVE
17:12:29.270 [nioEventLoopGroup-308-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69909405, /127.0.0.1:46601 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.270 [nioEventLoopGroup-311-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-311-1
17:12:29.271 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.275 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11b6c805, /127.0.0.1:46604 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.276 [nioEventLoopGroup-308-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:29.276 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11b6c805, /127.0.0.1:46604 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.277 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11b6c805, /127.0.0.1:46604 => /127.0.0.1:38253] FLUSH
17:12:29.277 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.277 [nioEventLoopGroup-312-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-312-1
17:12:29.277 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11b6c805, /127.0.0.1:46604 => /127.0.0.1:38253] FLUSH
17:12:29.277 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11b6c805, /127.0.0.1:46604 :> /127.0.0.1:38253] INACTIVE
17:12:29.277 [nioEventLoopGroup-308-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x11b6c805, /127.0.0.1:46604 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.278 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.282 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c3de67e, /127.0.0.1:46606 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:29.283 [nioEventLoopGroup-308-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:29.284 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c3de67e, /127.0.0.1:46606 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.284 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c3de67e, /127.0.0.1:46606 => /127.0.0.1:38253] FLUSH
17:12:29.284 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.284 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c3de67e, /127.0.0.1:46606 => /127.0.0.1:38253] FLUSH
17:12:29.285 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c3de67e, /127.0.0.1:46606 :> /127.0.0.1:38253] INACTIVE
17:12:29.285 [nioEventLoopGroup-308-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c3de67e, /127.0.0.1:46606 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.285 [nioEventLoopGroup-313-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-313-1
17:12:29.286 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.292 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9df7107e, /127.0.0.1:46608 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:29.294 [nioEventLoopGroup-308-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:29.294 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9df7107e, /127.0.0.1:46608 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.294 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9df7107e, /127.0.0.1:46608 => /127.0.0.1:38253] FLUSH
17:12:29.295 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.295 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9df7107e, /127.0.0.1:46608 => /127.0.0.1:38253] FLUSH
17:12:29.295 [nioEventLoopGroup-314-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-314-1
17:12:29.295 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9df7107e, /127.0.0.1:46608 :> /127.0.0.1:38253] INACTIVE
17:12:29.295 [nioEventLoopGroup-308-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9df7107e, /127.0.0.1:46608 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.296 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.301 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84d39171, /127.0.0.1:46612 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:29.302 [nioEventLoopGroup-308-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:29.303 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84d39171, /127.0.0.1:46612 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.303 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84d39171, /127.0.0.1:46612 => /127.0.0.1:38253] FLUSH
17:12:29.303 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.303 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84d39171, /127.0.0.1:46612 => /127.0.0.1:38253] FLUSH
17:12:29.303 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84d39171, /127.0.0.1:46612 :> /127.0.0.1:38253] INACTIVE
17:12:29.303 [nioEventLoopGroup-308-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84d39171, /127.0.0.1:46612 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.303 [nioEventLoopGroup-315-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-315-1
17:12:29.305 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.307 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb912963, /127.0.0.1:46614 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.309 [nioEventLoopGroup-308-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:29.309 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb912963, /127.0.0.1:46614 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.309 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb912963, /127.0.0.1:46614 => /127.0.0.1:38253] FLUSH
17:12:29.309 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.310 [nioEventLoopGroup-316-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-316-1
17:12:29.310 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb912963, /127.0.0.1:46614 => /127.0.0.1:38253] FLUSH
17:12:29.310 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb912963, /127.0.0.1:46614 :> /127.0.0.1:38253] INACTIVE
17:12:29.310 [nioEventLoopGroup-308-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb912963, /127.0.0.1:46614 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.311 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.314 [nioEventLoopGroup-308-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc376048, /127.0.0.1:46616 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.315 [nioEventLoopGroup-308-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:29.316 [nioEventLoopGroup-308-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc376048, /127.0.0.1:46616 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.316 [nioEventLoopGroup-308-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc376048, /127.0.0.1:46616 => /127.0.0.1:38253] FLUSH
17:12:29.316 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.316 [nioEventLoopGroup-308-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc376048, /127.0.0.1:46616 => /127.0.0.1:38253] FLUSH
17:12:29.316 [nioEventLoopGroup-317-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-317-1
17:12:29.316 [nioEventLoopGroup-308-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc376048, /127.0.0.1:46616 :> /127.0.0.1:38253] INACTIVE
17:12:29.316 [nioEventLoopGroup-308-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc376048, /127.0.0.1:46616 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.318 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.320 [nioEventLoopGroup-308-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x608b17ad, /127.0.0.1:46618 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.321 [nioEventLoopGroup-308-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:29.321 [nioEventLoopGroup-308-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x608b17ad, /127.0.0.1:46618 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.321 [nioEventLoopGroup-308-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x608b17ad, /127.0.0.1:46618 => /127.0.0.1:38253] FLUSH
17:12:29.321 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.321 [nioEventLoopGroup-308-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x608b17ad, /127.0.0.1:46618 => /127.0.0.1:38253] FLUSH
17:12:29.322 [nioEventLoopGroup-308-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x608b17ad, /127.0.0.1:46618 :> /127.0.0.1:38253] INACTIVE
17:12:29.322 [nioEventLoopGroup-308-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x608b17ad, /127.0.0.1:46618 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.322 [nioEventLoopGroup-318-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-318-1
17:12:29.322 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.324 [nioEventLoopGroup-308-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdd29fc2, /127.0.0.1:46620 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.326 [nioEventLoopGroup-308-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:29.326 [nioEventLoopGroup-308-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdd29fc2, /127.0.0.1:46620 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.326 [nioEventLoopGroup-308-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdd29fc2, /127.0.0.1:46620 => /127.0.0.1:38253] FLUSH
17:12:29.326 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.327 [nioEventLoopGroup-319-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-319-1
17:12:29.327 [nioEventLoopGroup-308-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdd29fc2, /127.0.0.1:46620 => /127.0.0.1:38253] FLUSH
17:12:29.327 [nioEventLoopGroup-308-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdd29fc2, /127.0.0.1:46620 :> /127.0.0.1:38253] INACTIVE
17:12:29.327 [nioEventLoopGroup-308-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcdd29fc2, /127.0.0.1:46620 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.328 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.331 [nioEventLoopGroup-308-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57a0559f, /127.0.0.1:46622 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:29.332 [nioEventLoopGroup-308-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:29.333 [nioEventLoopGroup-308-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57a0559f, /127.0.0.1:46622 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.333 [nioEventLoopGroup-308-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57a0559f, /127.0.0.1:46622 => /127.0.0.1:38253] FLUSH
17:12:29.333 [nioEventLoopGroup-308-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57a0559f, /127.0.0.1:46622 => /127.0.0.1:38253] FLUSH
17:12:29.333 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.333 [nioEventLoopGroup-308-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57a0559f, /127.0.0.1:46622 :> /127.0.0.1:38253] INACTIVE
17:12:29.333 [nioEventLoopGroup-308-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57a0559f, /127.0.0.1:46622 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.334 [nioEventLoopGroup-320-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-320-1
17:12:29.334 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.336 [nioEventLoopGroup-308-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0688942b, /127.0.0.1:46624 => /127.0.0.1:38253] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:29.337 [nioEventLoopGroup-308-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:29.338 [nioEventLoopGroup-308-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0688942b, /127.0.0.1:46624 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.338 [nioEventLoopGroup-308-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0688942b, /127.0.0.1:46624 => /127.0.0.1:38253] FLUSH
17:12:29.338 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.338 [nioEventLoopGroup-308-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0688942b, /127.0.0.1:46624 => /127.0.0.1:38253] FLUSH
17:12:29.338 [nioEventLoopGroup-321-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-321-1
17:12:29.338 [nioEventLoopGroup-308-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0688942b, /127.0.0.1:46624 :> /127.0.0.1:38253] INACTIVE
17:12:29.338 [nioEventLoopGroup-308-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0688942b, /127.0.0.1:46624 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.349 [nioEventLoopGroup-308-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7776561a, /127.0.0.1:46626 => /127.0.0.1:38253] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:38253
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:29.349 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.350 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.350 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:29.350 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.350 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.351 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.351 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.351 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.351 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.352 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.352 [nioEventLoopGroup-308-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:29.352 [nioEventLoopGroup-308-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:29.352 [nioEventLoopGroup-308-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7776561a, /127.0.0.1:46626 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:29.352 [nioEventLoopGroup-308-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7776561a, /127.0.0.1:46626 => /127.0.0.1:38253] FLUSH
17:12:29.358 [nioEventLoopGroup-308-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5e19ece, /127.0.0.1:46628 => /127.0.0.1:38253] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Host: localhost:38253
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:29.359 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.359 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.359 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:29.359 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.360 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.360 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.360 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.361 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.361 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.361 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.361 [nioEventLoopGroup-308-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:29.362 [nioEventLoopGroup-308-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38253" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:29.362 [nioEventLoopGroup-308-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5e19ece, /127.0.0.1:46628 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:29.362 [nioEventLoopGroup-308-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5e19ece, /127.0.0.1:46628 => /127.0.0.1:38253] FLUSH
17:12:29.363 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:29.365 [nioEventLoopGroup-308-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7845692e, /127.0.0.1:46630 => /127.0.0.1:38253] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:38253
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:29.365 [nioEventLoopGroup-308-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7845692e, /127.0.0.1:46630 => /127.0.0.1:38253] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.365 [nioEventLoopGroup-308-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7845692e, /127.0.0.1:46630 => /127.0.0.1:38253] FLUSH
17:12:29.365 [nioEventLoopGroup-308-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7845692e, /127.0.0.1:46630 => /127.0.0.1:38253] CLOSE()
17:12:29.365 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.365 [nioEventLoopGroup-322-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-322-1
17:12:29.366 [nioEventLoopGroup-308-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-2
17:12:29.366 [nioEventLoopGroup-308-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-3
17:12:29.366 [nioEventLoopGroup-308-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-1
17:12:29.366 [nioEventLoopGroup-308-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-8
17:12:29.366 [nioEventLoopGroup-308-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-10
17:12:29.366 [nioEventLoopGroup-308-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-4
17:12:29.366 [nioEventLoopGroup-308-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-11
17:12:29.366 [nioEventLoopGroup-308-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-5
17:12:29.366 [nioEventLoopGroup-308-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-13
17:12:29.366 [nioEventLoopGroup-308-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-6
17:12:29.366 [nioEventLoopGroup-308-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-12
17:12:29.366 [nioEventLoopGroup-308-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-9
17:12:29.367 [nioEventLoopGroup-308-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7776561a, /127.0.0.1:46626 :> /127.0.0.1:38253] INACTIVE
17:12:29.367 [nioEventLoopGroup-308-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5e19ece, /127.0.0.1:46628 :> /127.0.0.1:38253] INACTIVE
17:12:29.367 [nioEventLoopGroup-308-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-7
17:12:29.367 [nioEventLoopGroup-308-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7776561a, /127.0.0.1:46626 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.367 [nioEventLoopGroup-308-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc5e19ece, /127.0.0.1:46628 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.390 [nioEventLoopGroup-292-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59af8c12, /127.0.0.1:57268 :> /127.0.0.1:37117] FLUSH
17:12:29.390 [nioEventLoopGroup-292-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59af8c12, /127.0.0.1:57268 :> /127.0.0.1:37117] INACTIVE
17:12:29.390 [nioEventLoopGroup-292-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59af8c12, /127.0.0.1:57268 :> /127.0.0.1:37117] UNREGISTERED
17:12:29.391 [nioEventLoopGroup-292-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-16
17:12:29.403 [nioEventLoopGroup-276-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-15
17:12:29.403 [nioEventLoopGroup-276-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-276-14
17:12:29.721 [MockServer thread for port: 45231] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 45231
17:12:29.721 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.724 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df57fce, /127.0.0.1:33292 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:29.727 [nioEventLoopGroup-324-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:29.727 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df57fce, /127.0.0.1:33292 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.728 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df57fce, /127.0.0.1:33292 => /127.0.0.1:45231] FLUSH
17:12:29.729 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.729 [nioEventLoopGroup-325-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-325-1
17:12:29.729 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df57fce, /127.0.0.1:33292 => /127.0.0.1:45231] FLUSH
17:12:29.730 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df57fce, /127.0.0.1:33292 :> /127.0.0.1:45231] INACTIVE
17:12:29.730 [nioEventLoopGroup-324-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df57fce, /127.0.0.1:33292 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.730 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.738 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x499b3354, /127.0.0.1:33296 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:29.740 [nioEventLoopGroup-324-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:29.740 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x499b3354, /127.0.0.1:33296 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.740 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x499b3354, /127.0.0.1:33296 => /127.0.0.1:45231] FLUSH
17:12:29.740 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.740 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x499b3354, /127.0.0.1:33296 => /127.0.0.1:45231] FLUSH
17:12:29.740 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x499b3354, /127.0.0.1:33296 :> /127.0.0.1:45231] INACTIVE
17:12:29.740 [nioEventLoopGroup-324-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x499b3354, /127.0.0.1:33296 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.741 [nioEventLoopGroup-326-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-326-1
17:12:29.741 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.745 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330389e1, /127.0.0.1:33298 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:29.746 [nioEventLoopGroup-324-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:29.746 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330389e1, /127.0.0.1:33298 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.746 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330389e1, /127.0.0.1:33298 => /127.0.0.1:45231] FLUSH
17:12:29.746 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.747 [nioEventLoopGroup-327-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-327-1
17:12:29.747 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330389e1, /127.0.0.1:33298 => /127.0.0.1:45231] FLUSH
17:12:29.747 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330389e1, /127.0.0.1:33298 :> /127.0.0.1:45231] INACTIVE
17:12:29.747 [nioEventLoopGroup-324-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x330389e1, /127.0.0.1:33298 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.748 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.751 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8980709b, /127.0.0.1:33302 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.752 [nioEventLoopGroup-324-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:29.752 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8980709b, /127.0.0.1:33302 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.752 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8980709b, /127.0.0.1:33302 => /127.0.0.1:45231] FLUSH
17:12:29.752 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.752 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8980709b, /127.0.0.1:33302 => /127.0.0.1:45231] FLUSH
17:12:29.752 [nioEventLoopGroup-328-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-328-1
17:12:29.752 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8980709b, /127.0.0.1:33302 :> /127.0.0.1:45231] INACTIVE
17:12:29.753 [nioEventLoopGroup-324-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8980709b, /127.0.0.1:33302 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.753 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.756 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa7d1421, /127.0.0.1:33306 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:29.757 [nioEventLoopGroup-324-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:29.757 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa7d1421, /127.0.0.1:33306 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.757 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa7d1421, /127.0.0.1:33306 => /127.0.0.1:45231] FLUSH
17:12:29.758 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa7d1421, /127.0.0.1:33306 => /127.0.0.1:45231] FLUSH
17:12:29.758 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.758 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa7d1421, /127.0.0.1:33306 :> /127.0.0.1:45231] INACTIVE
17:12:29.758 [nioEventLoopGroup-324-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa7d1421, /127.0.0.1:33306 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.758 [nioEventLoopGroup-329-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-329-1
17:12:29.759 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.785 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x700fe7c5, /127.0.0.1:33310 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:29.785 [nioEventLoopGroup-324-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:29.786 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x700fe7c5, /127.0.0.1:33310 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.786 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x700fe7c5, /127.0.0.1:33310 => /127.0.0.1:45231] FLUSH
17:12:29.786 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.786 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x700fe7c5, /127.0.0.1:33310 => /127.0.0.1:45231] FLUSH
17:12:29.786 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x700fe7c5, /127.0.0.1:33310 :> /127.0.0.1:45231] INACTIVE
17:12:29.786 [nioEventLoopGroup-330-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-330-1
17:12:29.786 [nioEventLoopGroup-324-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x700fe7c5, /127.0.0.1:33310 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.787 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.789 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e3d202, /127.0.0.1:33312 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:29.790 [nioEventLoopGroup-324-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:29.790 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e3d202, /127.0.0.1:33312 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.790 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e3d202, /127.0.0.1:33312 => /127.0.0.1:45231] FLUSH
17:12:29.790 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e3d202, /127.0.0.1:33312 => /127.0.0.1:45231] FLUSH
17:12:29.790 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.791 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e3d202, /127.0.0.1:33312 :> /127.0.0.1:45231] INACTIVE
17:12:29.791 [nioEventLoopGroup-324-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb4e3d202, /127.0.0.1:33312 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.791 [nioEventLoopGroup-331-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-331-1
17:12:29.791 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.794 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbcb42aa5, /127.0.0.1:33314 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.794 [nioEventLoopGroup-324-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:29.794 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbcb42aa5, /127.0.0.1:33314 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.794 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbcb42aa5, /127.0.0.1:33314 => /127.0.0.1:45231] FLUSH
17:12:29.795 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.795 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbcb42aa5, /127.0.0.1:33314 => /127.0.0.1:45231] FLUSH
17:12:29.795 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbcb42aa5, /127.0.0.1:33314 :> /127.0.0.1:45231] INACTIVE
17:12:29.795 [nioEventLoopGroup-332-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-332-1
17:12:29.795 [nioEventLoopGroup-324-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbcb42aa5, /127.0.0.1:33314 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.796 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.798 [nioEventLoopGroup-324-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c915139, /127.0.0.1:33316 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.799 [nioEventLoopGroup-324-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:29.799 [nioEventLoopGroup-324-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c915139, /127.0.0.1:33316 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.799 [nioEventLoopGroup-324-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c915139, /127.0.0.1:33316 => /127.0.0.1:45231] FLUSH
17:12:29.799 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.799 [nioEventLoopGroup-324-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c915139, /127.0.0.1:33316 => /127.0.0.1:45231] FLUSH
17:12:29.799 [nioEventLoopGroup-324-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c915139, /127.0.0.1:33316 :> /127.0.0.1:45231] INACTIVE
17:12:29.799 [nioEventLoopGroup-324-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c915139, /127.0.0.1:33316 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.800 [nioEventLoopGroup-333-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-333-1
17:12:29.800 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.802 [nioEventLoopGroup-324-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84bee6ba, /127.0.0.1:33318 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.803 [nioEventLoopGroup-324-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:29.803 [nioEventLoopGroup-324-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84bee6ba, /127.0.0.1:33318 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.803 [nioEventLoopGroup-324-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84bee6ba, /127.0.0.1:33318 => /127.0.0.1:45231] FLUSH
17:12:29.803 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.803 [nioEventLoopGroup-324-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84bee6ba, /127.0.0.1:33318 => /127.0.0.1:45231] FLUSH
17:12:29.803 [nioEventLoopGroup-324-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84bee6ba, /127.0.0.1:33318 :> /127.0.0.1:45231] INACTIVE
17:12:29.803 [nioEventLoopGroup-334-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-334-1
17:12:29.803 [nioEventLoopGroup-324-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84bee6ba, /127.0.0.1:33318 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.804 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.806 [nioEventLoopGroup-324-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c5633a0, /127.0.0.1:33320 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:29.807 [nioEventLoopGroup-324-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:29.807 [nioEventLoopGroup-324-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c5633a0, /127.0.0.1:33320 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.807 [nioEventLoopGroup-324-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c5633a0, /127.0.0.1:33320 => /127.0.0.1:45231] FLUSH
17:12:29.807 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.807 [nioEventLoopGroup-324-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c5633a0, /127.0.0.1:33320 => /127.0.0.1:45231] FLUSH
17:12:29.808 [nioEventLoopGroup-324-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c5633a0, /127.0.0.1:33320 :> /127.0.0.1:45231] INACTIVE
17:12:29.808 [nioEventLoopGroup-335-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-335-1
17:12:29.808 [nioEventLoopGroup-324-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2c5633a0, /127.0.0.1:33320 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.809 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.812 [nioEventLoopGroup-324-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe87a8bb4, /127.0.0.1:33322 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:29.813 [nioEventLoopGroup-324-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:29.814 [nioEventLoopGroup-324-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe87a8bb4, /127.0.0.1:33322 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.814 [nioEventLoopGroup-324-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe87a8bb4, /127.0.0.1:33322 => /127.0.0.1:45231] FLUSH
17:12:29.814 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.814 [nioEventLoopGroup-324-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe87a8bb4, /127.0.0.1:33322 => /127.0.0.1:45231] FLUSH
17:12:29.814 [nioEventLoopGroup-336-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-336-1
17:12:29.814 [nioEventLoopGroup-324-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe87a8bb4, /127.0.0.1:33322 :> /127.0.0.1:45231] INACTIVE
17:12:29.814 [nioEventLoopGroup-324-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe87a8bb4, /127.0.0.1:33322 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.815 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:29.818 [nioEventLoopGroup-324-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85b8a35c, /127.0.0.1:33324 => /127.0.0.1:45231] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:29.819 [nioEventLoopGroup-324-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:29.819 [nioEventLoopGroup-324-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85b8a35c, /127.0.0.1:33324 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.819 [nioEventLoopGroup-324-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85b8a35c, /127.0.0.1:33324 => /127.0.0.1:45231] FLUSH
17:12:29.819 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.819 [nioEventLoopGroup-324-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85b8a35c, /127.0.0.1:33324 => /127.0.0.1:45231] FLUSH
17:12:29.819 [nioEventLoopGroup-324-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85b8a35c, /127.0.0.1:33324 :> /127.0.0.1:45231] INACTIVE
17:12:29.820 [nioEventLoopGroup-324-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x85b8a35c, /127.0.0.1:33324 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.819 [nioEventLoopGroup-337-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-337-1
17:12:29.824 [nioEventLoopGroup-324-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0d15636, /127.0.0.1:33326 => /127.0.0.1:45231] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:45231
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:29.824 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.824 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.824 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:29.825 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.825 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.825 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.825 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.825 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:29.826 [nioEventLoopGroup-324-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:29.826 [nioEventLoopGroup-324-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0d15636, /127.0.0.1:33326 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:29.826 [nioEventLoopGroup-324-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0d15636, /127.0.0.1:33326 => /127.0.0.1:45231] FLUSH
17:12:29.827 [nioEventLoopGroup-324-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0d15636, /127.0.0.1:33326 => /127.0.0.1:45231] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status200 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:45231
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:29.828 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.828 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.828 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:29.828 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.829 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.829 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.829 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:29.829 [nioEventLoopGroup-324-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}


17:12:29.830 [nioEventLoopGroup-324-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status200",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:45231" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:29.830 [nioEventLoopGroup-324-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0d15636, /127.0.0.1:33326 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 200 OK
Content-Length: 0
Connection: keep-alive, 0B
17:12:29.830 [nioEventLoopGroup-324-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0d15636, /127.0.0.1:33326 => /127.0.0.1:45231] FLUSH
17:12:29.831 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:29.833 [nioEventLoopGroup-324-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa636540, /127.0.0.1:33328 => /127.0.0.1:45231] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:45231
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:29.834 [nioEventLoopGroup-324-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa636540, /127.0.0.1:33328 => /127.0.0.1:45231] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:29.834 [nioEventLoopGroup-324-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa636540, /127.0.0.1:33328 => /127.0.0.1:45231] FLUSH
17:12:29.834 [nioEventLoopGroup-324-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa636540, /127.0.0.1:33328 => /127.0.0.1:45231] CLOSE()
17:12:29.834 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:29.834 [nioEventLoopGroup-338-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-338-1
17:12:29.834 [nioEventLoopGroup-324-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-6
17:12:29.834 [nioEventLoopGroup-324-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-2
17:12:29.834 [nioEventLoopGroup-324-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-5
17:12:29.834 [nioEventLoopGroup-324-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-7
17:12:29.834 [nioEventLoopGroup-324-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-11
17:12:29.834 [nioEventLoopGroup-324-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-1
17:12:29.834 [nioEventLoopGroup-324-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-9
17:12:29.834 [nioEventLoopGroup-324-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-3
17:12:29.835 [nioEventLoopGroup-324-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-13
17:12:29.835 [nioEventLoopGroup-324-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-8
17:12:29.835 [nioEventLoopGroup-324-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-4
17:12:29.835 [nioEventLoopGroup-324-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-12
17:12:29.835 [nioEventLoopGroup-324-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-10
17:12:29.835 [nioEventLoopGroup-324-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0d15636, /127.0.0.1:33326 :> /127.0.0.1:45231] INACTIVE
17:12:29.835 [nioEventLoopGroup-324-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0d15636, /127.0.0.1:33326 :> /127.0.0.1:45231] UNREGISTERED
17:12:29.866 [nioEventLoopGroup-308-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7845692e, /127.0.0.1:46630 :> /127.0.0.1:38253] FLUSH
17:12:29.867 [nioEventLoopGroup-308-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7845692e, /127.0.0.1:46630 :> /127.0.0.1:38253] INACTIVE
17:12:29.867 [nioEventLoopGroup-308-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7845692e, /127.0.0.1:46630 :> /127.0.0.1:38253] UNREGISTERED
17:12:29.867 [nioEventLoopGroup-308-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-16
17:12:29.891 [nioEventLoopGroup-292-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-14
17:12:29.892 [nioEventLoopGroup-292-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-292-15
17:12:30.192 [MockServer thread for port: 34757] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 34757
17:12:30.192 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.196 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x284a28df, /127.0.0.1:60314 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:30.197 [nioEventLoopGroup-340-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:30.198 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x284a28df, /127.0.0.1:60314 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.198 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x284a28df, /127.0.0.1:60314 => /127.0.0.1:34757] FLUSH
17:12:30.198 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.198 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x284a28df, /127.0.0.1:60314 => /127.0.0.1:34757] FLUSH
17:12:30.199 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x284a28df, /127.0.0.1:60314 :> /127.0.0.1:34757] INACTIVE
17:12:30.199 [nioEventLoopGroup-341-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-341-1
17:12:30.199 [nioEventLoopGroup-340-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x284a28df, /127.0.0.1:60314 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.200 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.203 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb9f1bb7, /127.0.0.1:60318 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:30.204 [nioEventLoopGroup-340-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:30.204 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb9f1bb7, /127.0.0.1:60318 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.204 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb9f1bb7, /127.0.0.1:60318 => /127.0.0.1:34757] FLUSH
17:12:30.205 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.205 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb9f1bb7, /127.0.0.1:60318 => /127.0.0.1:34757] FLUSH
17:12:30.205 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb9f1bb7, /127.0.0.1:60318 :> /127.0.0.1:34757] INACTIVE
17:12:30.205 [nioEventLoopGroup-340-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcb9f1bb7, /127.0.0.1:60318 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.205 [nioEventLoopGroup-342-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-342-1
17:12:30.207 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.215 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7180e45, /127.0.0.1:60320 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:30.216 [nioEventLoopGroup-340-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:30.216 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7180e45, /127.0.0.1:60320 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.216 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7180e45, /127.0.0.1:60320 => /127.0.0.1:34757] FLUSH
17:12:30.217 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.217 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7180e45, /127.0.0.1:60320 => /127.0.0.1:34757] FLUSH
17:12:30.217 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7180e45, /127.0.0.1:60320 :> /127.0.0.1:34757] INACTIVE
17:12:30.217 [nioEventLoopGroup-343-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-343-1
17:12:30.217 [nioEventLoopGroup-340-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe7180e45, /127.0.0.1:60320 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.219 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.223 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5914bdc8, /127.0.0.1:60324 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.223 [nioEventLoopGroup-340-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:30.224 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5914bdc8, /127.0.0.1:60324 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.224 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5914bdc8, /127.0.0.1:60324 => /127.0.0.1:34757] FLUSH
17:12:30.224 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.224 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5914bdc8, /127.0.0.1:60324 => /127.0.0.1:34757] FLUSH
17:12:30.224 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5914bdc8, /127.0.0.1:60324 :> /127.0.0.1:34757] INACTIVE
17:12:30.224 [nioEventLoopGroup-340-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5914bdc8, /127.0.0.1:60324 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.224 [nioEventLoopGroup-344-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-344-1
17:12:30.226 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.228 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x176e0800, /127.0.0.1:60326 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:30.229 [nioEventLoopGroup-340-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:30.230 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x176e0800, /127.0.0.1:60326 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.230 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x176e0800, /127.0.0.1:60326 => /127.0.0.1:34757] FLUSH
17:12:30.230 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.231 [nioEventLoopGroup-345-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-345-1
17:12:30.232 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x176e0800, /127.0.0.1:60326 => /127.0.0.1:34757] FLUSH
17:12:30.232 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x176e0800, /127.0.0.1:60326 :> /127.0.0.1:34757] INACTIVE
17:12:30.232 [nioEventLoopGroup-340-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x176e0800, /127.0.0.1:60326 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.234 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.240 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c2f8891, /127.0.0.1:60330 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:30.241 [nioEventLoopGroup-340-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:30.241 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c2f8891, /127.0.0.1:60330 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.242 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c2f8891, /127.0.0.1:60330 => /127.0.0.1:34757] FLUSH
17:12:30.242 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.242 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c2f8891, /127.0.0.1:60330 => /127.0.0.1:34757] FLUSH
17:12:30.242 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c2f8891, /127.0.0.1:60330 :> /127.0.0.1:34757] INACTIVE
17:12:30.242 [nioEventLoopGroup-346-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-346-1
17:12:30.242 [nioEventLoopGroup-340-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9c2f8891, /127.0.0.1:60330 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.243 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.246 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92ab2525, /127.0.0.1:60332 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:30.247 [nioEventLoopGroup-340-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:30.248 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92ab2525, /127.0.0.1:60332 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.248 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92ab2525, /127.0.0.1:60332 => /127.0.0.1:34757] FLUSH
17:12:30.248 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.248 [nioEventLoopGroup-347-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-347-1
17:12:30.249 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92ab2525, /127.0.0.1:60332 => /127.0.0.1:34757] FLUSH
17:12:30.249 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92ab2525, /127.0.0.1:60332 :> /127.0.0.1:34757] INACTIVE
17:12:30.249 [nioEventLoopGroup-340-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92ab2525, /127.0.0.1:60332 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.250 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.254 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a2e714, /127.0.0.1:60336 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.255 [nioEventLoopGroup-340-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:30.256 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a2e714, /127.0.0.1:60336 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.256 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a2e714, /127.0.0.1:60336 => /127.0.0.1:34757] FLUSH
17:12:30.257 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.257 [nioEventLoopGroup-348-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-348-1
17:12:30.257 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a2e714, /127.0.0.1:60336 => /127.0.0.1:34757] FLUSH
17:12:30.257 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a2e714, /127.0.0.1:60336 :> /127.0.0.1:34757] INACTIVE
17:12:30.257 [nioEventLoopGroup-340-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a2e714, /127.0.0.1:60336 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.258 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.261 [nioEventLoopGroup-340-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x027fd29e, /127.0.0.1:60340 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.262 [nioEventLoopGroup-340-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:30.262 [nioEventLoopGroup-340-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x027fd29e, /127.0.0.1:60340 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.262 [nioEventLoopGroup-340-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x027fd29e, /127.0.0.1:60340 => /127.0.0.1:34757] FLUSH
17:12:30.263 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.263 [nioEventLoopGroup-340-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x027fd29e, /127.0.0.1:60340 => /127.0.0.1:34757] FLUSH
17:12:30.263 [nioEventLoopGroup-340-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x027fd29e, /127.0.0.1:60340 :> /127.0.0.1:34757] INACTIVE
17:12:30.263 [nioEventLoopGroup-340-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x027fd29e, /127.0.0.1:60340 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.263 [nioEventLoopGroup-349-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-349-1
17:12:30.264 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.271 [nioEventLoopGroup-340-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdfa43eed, /127.0.0.1:60344 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.272 [nioEventLoopGroup-340-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:30.272 [nioEventLoopGroup-340-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdfa43eed, /127.0.0.1:60344 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.272 [nioEventLoopGroup-340-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdfa43eed, /127.0.0.1:60344 => /127.0.0.1:34757] FLUSH
17:12:30.273 [nioEventLoopGroup-340-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdfa43eed, /127.0.0.1:60344 => /127.0.0.1:34757] FLUSH
17:12:30.273 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.273 [nioEventLoopGroup-340-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdfa43eed, /127.0.0.1:60344 :> /127.0.0.1:34757] INACTIVE
17:12:30.273 [nioEventLoopGroup-340-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdfa43eed, /127.0.0.1:60344 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.273 [nioEventLoopGroup-350-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-350-1
17:12:30.275 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.290 [nioEventLoopGroup-340-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5ee5785, /127.0.0.1:60352 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.291 [nioEventLoopGroup-340-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:30.292 [nioEventLoopGroup-340-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5ee5785, /127.0.0.1:60352 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.292 [nioEventLoopGroup-340-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5ee5785, /127.0.0.1:60352 => /127.0.0.1:34757] FLUSH
17:12:30.292 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.292 [nioEventLoopGroup-340-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5ee5785, /127.0.0.1:60352 => /127.0.0.1:34757] FLUSH
17:12:30.293 [nioEventLoopGroup-351-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-351-1
17:12:30.293 [nioEventLoopGroup-340-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5ee5785, /127.0.0.1:60352 :> /127.0.0.1:34757] INACTIVE
17:12:30.293 [nioEventLoopGroup-340-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf5ee5785, /127.0.0.1:60352 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.294 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.297 [nioEventLoopGroup-340-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b7936c8, /127.0.0.1:60354 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:30.298 [nioEventLoopGroup-340-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:30.299 [nioEventLoopGroup-340-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b7936c8, /127.0.0.1:60354 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.299 [nioEventLoopGroup-340-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b7936c8, /127.0.0.1:60354 => /127.0.0.1:34757] FLUSH
17:12:30.299 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.299 [nioEventLoopGroup-340-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b7936c8, /127.0.0.1:60354 => /127.0.0.1:34757] FLUSH
17:12:30.299 [nioEventLoopGroup-340-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b7936c8, /127.0.0.1:60354 :> /127.0.0.1:34757] INACTIVE
17:12:30.299 [nioEventLoopGroup-340-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b7936c8, /127.0.0.1:60354 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.299 [nioEventLoopGroup-352-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-352-1
17:12:30.301 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.305 [nioEventLoopGroup-340-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdee642b4, /127.0.0.1:60356 => /127.0.0.1:34757] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:30.306 [nioEventLoopGroup-340-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:30.306 [nioEventLoopGroup-340-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdee642b4, /127.0.0.1:60356 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.306 [nioEventLoopGroup-340-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdee642b4, /127.0.0.1:60356 => /127.0.0.1:34757] FLUSH
17:12:30.307 [nioEventLoopGroup-340-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdee642b4, /127.0.0.1:60356 => /127.0.0.1:34757] FLUSH
17:12:30.307 [nioEventLoopGroup-340-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdee642b4, /127.0.0.1:60356 :> /127.0.0.1:34757] INACTIVE
17:12:30.307 [nioEventLoopGroup-340-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdee642b4, /127.0.0.1:60356 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.307 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.307 [nioEventLoopGroup-353-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-353-1
17:12:30.312 [nioEventLoopGroup-340-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53ff7012, /127.0.0.1:60360 => /127.0.0.1:34757] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:34757
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:30.313 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.313 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.313 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:30.313 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.314 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.314 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.314 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.315 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.315 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:30.315 [nioEventLoopGroup-340-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:30.316 [nioEventLoopGroup-340-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53ff7012, /127.0.0.1:60360 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:30.316 [nioEventLoopGroup-340-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53ff7012, /127.0.0.1:60360 => /127.0.0.1:34757] FLUSH
17:12:30.317 [nioEventLoopGroup-340-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53ff7012, /127.0.0.1:60360 => /127.0.0.1:34757] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status300 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:34757
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:30.318 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.318 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.319 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:30.319 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.319 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.319 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.320 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.320 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.320 [nioEventLoopGroup-340-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}


17:12:30.321 [nioEventLoopGroup-340-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 300
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status300",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34757" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:30.321 [nioEventLoopGroup-340-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53ff7012, /127.0.0.1:60360 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 300 Multiple Choices
Content-Length: 0
Connection: keep-alive, 0B
17:12:30.321 [nioEventLoopGroup-340-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53ff7012, /127.0.0.1:60360 => /127.0.0.1:34757] FLUSH
17:12:30.322 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:30.324 [nioEventLoopGroup-340-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38b09d9c, /127.0.0.1:60362 => /127.0.0.1:34757] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:34757
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:30.324 [nioEventLoopGroup-340-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38b09d9c, /127.0.0.1:60362 => /127.0.0.1:34757] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.324 [nioEventLoopGroup-340-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38b09d9c, /127.0.0.1:60362 => /127.0.0.1:34757] FLUSH
17:12:30.324 [nioEventLoopGroup-340-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38b09d9c, /127.0.0.1:60362 => /127.0.0.1:34757] CLOSE()
17:12:30.324 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.326 [nioEventLoopGroup-354-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-354-1
17:12:30.332 [nioEventLoopGroup-340-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-7
17:12:30.332 [nioEventLoopGroup-340-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-11
17:12:30.332 [nioEventLoopGroup-340-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-3
17:12:30.332 [nioEventLoopGroup-340-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-6
17:12:30.332 [nioEventLoopGroup-340-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-4
17:12:30.332 [nioEventLoopGroup-340-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-1
17:12:30.332 [nioEventLoopGroup-340-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-13
17:12:30.332 [nioEventLoopGroup-340-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-9
17:12:30.332 [nioEventLoopGroup-340-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-10
17:12:30.332 [nioEventLoopGroup-340-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-2
17:12:30.332 [nioEventLoopGroup-340-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-5
17:12:30.332 [nioEventLoopGroup-340-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-8
17:12:30.332 [nioEventLoopGroup-340-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-12
17:12:30.333 [nioEventLoopGroup-340-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53ff7012, /127.0.0.1:60360 :> /127.0.0.1:34757] INACTIVE
17:12:30.333 [nioEventLoopGroup-340-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x53ff7012, /127.0.0.1:60360 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.336 [nioEventLoopGroup-324-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa636540, /127.0.0.1:33328 :> /127.0.0.1:45231] FLUSH
17:12:30.337 [nioEventLoopGroup-324-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa636540, /127.0.0.1:33328 :> /127.0.0.1:45231] INACTIVE
17:12:30.337 [nioEventLoopGroup-324-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa636540, /127.0.0.1:33328 :> /127.0.0.1:45231] UNREGISTERED
17:12:30.337 [nioEventLoopGroup-324-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-15
17:12:30.368 [nioEventLoopGroup-308-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-15
17:12:30.368 [nioEventLoopGroup-308-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-308-14
17:12:30.680 [MockServer thread for port: 33940] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 33940
17:12:30.680 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.684 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6defe899, /127.0.0.1:41698 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:30.685 [nioEventLoopGroup-356-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:30.686 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6defe899, /127.0.0.1:41698 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.686 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6defe899, /127.0.0.1:41698 => /127.0.0.1:33940] FLUSH
17:12:30.686 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.686 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6defe899, /127.0.0.1:41698 => /127.0.0.1:33940] FLUSH
17:12:30.686 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6defe899, /127.0.0.1:41698 :> /127.0.0.1:33940] INACTIVE
17:12:30.686 [nioEventLoopGroup-356-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6defe899, /127.0.0.1:41698 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.687 [nioEventLoopGroup-357-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-357-1
17:12:30.689 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.698 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a95a46, /127.0.0.1:41700 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:30.700 [nioEventLoopGroup-356-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:30.700 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a95a46, /127.0.0.1:41700 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.700 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a95a46, /127.0.0.1:41700 => /127.0.0.1:33940] FLUSH
17:12:30.700 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.700 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a95a46, /127.0.0.1:41700 => /127.0.0.1:33940] FLUSH
17:12:30.701 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a95a46, /127.0.0.1:41700 :> /127.0.0.1:33940] INACTIVE
17:12:30.701 [nioEventLoopGroup-358-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-358-1
17:12:30.701 [nioEventLoopGroup-356-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7a95a46, /127.0.0.1:41700 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.703 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.706 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf9b8cfc, /127.0.0.1:41706 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:30.708 [nioEventLoopGroup-356-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:30.708 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf9b8cfc, /127.0.0.1:41706 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.708 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf9b8cfc, /127.0.0.1:41706 => /127.0.0.1:33940] FLUSH
17:12:30.708 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.709 [nioEventLoopGroup-359-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-359-1
17:12:30.709 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf9b8cfc, /127.0.0.1:41706 => /127.0.0.1:33940] FLUSH
17:12:30.709 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf9b8cfc, /127.0.0.1:41706 :> /127.0.0.1:33940] INACTIVE
17:12:30.709 [nioEventLoopGroup-356-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf9b8cfc, /127.0.0.1:41706 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.710 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.714 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c99e7da, /127.0.0.1:41710 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.715 [nioEventLoopGroup-356-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:30.715 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c99e7da, /127.0.0.1:41710 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.715 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c99e7da, /127.0.0.1:41710 => /127.0.0.1:33940] FLUSH
17:12:30.719 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.719 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c99e7da, /127.0.0.1:41710 => /127.0.0.1:33940] FLUSH
17:12:30.719 [nioEventLoopGroup-360-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-360-1
17:12:30.720 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c99e7da, /127.0.0.1:41710 :> /127.0.0.1:33940] INACTIVE
17:12:30.720 [nioEventLoopGroup-356-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4c99e7da, /127.0.0.1:41710 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.721 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.724 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd003b09e, /127.0.0.1:41714 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:30.725 [nioEventLoopGroup-356-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:30.725 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd003b09e, /127.0.0.1:41714 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.725 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd003b09e, /127.0.0.1:41714 => /127.0.0.1:33940] FLUSH
17:12:30.726 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.726 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd003b09e, /127.0.0.1:41714 => /127.0.0.1:33940] FLUSH
17:12:30.726 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd003b09e, /127.0.0.1:41714 :> /127.0.0.1:33940] INACTIVE
17:12:30.726 [nioEventLoopGroup-356-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd003b09e, /127.0.0.1:41714 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.726 [nioEventLoopGroup-361-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-361-1
17:12:30.728 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.730 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32401e3d, /127.0.0.1:41720 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:30.731 [nioEventLoopGroup-356-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:30.732 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32401e3d, /127.0.0.1:41720 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.732 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32401e3d, /127.0.0.1:41720 => /127.0.0.1:33940] FLUSH
17:12:30.732 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.732 [nioEventLoopGroup-362-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-362-1
17:12:30.733 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32401e3d, /127.0.0.1:41720 => /127.0.0.1:33940] FLUSH
17:12:30.733 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32401e3d, /127.0.0.1:41720 :> /127.0.0.1:33940] INACTIVE
17:12:30.733 [nioEventLoopGroup-356-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x32401e3d, /127.0.0.1:41720 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.735 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.739 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59e7ea83, /127.0.0.1:41722 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:30.741 [nioEventLoopGroup-356-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:30.743 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59e7ea83, /127.0.0.1:41722 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.744 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59e7ea83, /127.0.0.1:41722 => /127.0.0.1:33940] FLUSH
17:12:30.744 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59e7ea83, /127.0.0.1:41722 => /127.0.0.1:33940] FLUSH
17:12:30.744 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.744 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59e7ea83, /127.0.0.1:41722 :> /127.0.0.1:33940] INACTIVE
17:12:30.744 [nioEventLoopGroup-363-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-363-1
17:12:30.745 [nioEventLoopGroup-356-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x59e7ea83, /127.0.0.1:41722 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.746 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.749 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93ee8212, /127.0.0.1:41726 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.750 [nioEventLoopGroup-356-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:30.751 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93ee8212, /127.0.0.1:41726 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.751 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93ee8212, /127.0.0.1:41726 => /127.0.0.1:33940] FLUSH
17:12:30.752 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93ee8212, /127.0.0.1:41726 => /127.0.0.1:33940] FLUSH
17:12:30.752 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.752 [nioEventLoopGroup-364-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-364-1
17:12:30.752 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93ee8212, /127.0.0.1:41726 :> /127.0.0.1:33940] INACTIVE
17:12:30.752 [nioEventLoopGroup-356-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93ee8212, /127.0.0.1:41726 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.754 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.758 [nioEventLoopGroup-356-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4b27739, /127.0.0.1:41730 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.760 [nioEventLoopGroup-356-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:30.761 [nioEventLoopGroup-356-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4b27739, /127.0.0.1:41730 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.761 [nioEventLoopGroup-356-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4b27739, /127.0.0.1:41730 => /127.0.0.1:33940] FLUSH
17:12:30.762 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.762 [nioEventLoopGroup-365-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-365-1
17:12:30.762 [nioEventLoopGroup-356-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4b27739, /127.0.0.1:41730 => /127.0.0.1:33940] FLUSH
17:12:30.762 [nioEventLoopGroup-356-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4b27739, /127.0.0.1:41730 :> /127.0.0.1:33940] INACTIVE
17:12:30.762 [nioEventLoopGroup-356-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4b27739, /127.0.0.1:41730 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.763 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.766 [nioEventLoopGroup-356-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf65036b, /127.0.0.1:41734 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.767 [nioEventLoopGroup-356-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:30.767 [nioEventLoopGroup-356-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf65036b, /127.0.0.1:41734 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.767 [nioEventLoopGroup-356-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf65036b, /127.0.0.1:41734 => /127.0.0.1:33940] FLUSH
17:12:30.768 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.768 [nioEventLoopGroup-356-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf65036b, /127.0.0.1:41734 => /127.0.0.1:33940] FLUSH
17:12:30.768 [nioEventLoopGroup-356-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf65036b, /127.0.0.1:41734 :> /127.0.0.1:33940] INACTIVE
17:12:30.768 [nioEventLoopGroup-356-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf65036b, /127.0.0.1:41734 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.768 [nioEventLoopGroup-366-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-366-1
17:12:30.769 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.772 [nioEventLoopGroup-356-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf98fc71, /127.0.0.1:41738 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:30.774 [nioEventLoopGroup-356-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:30.776 [nioEventLoopGroup-356-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf98fc71, /127.0.0.1:41738 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.776 [nioEventLoopGroup-356-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf98fc71, /127.0.0.1:41738 => /127.0.0.1:33940] FLUSH
17:12:30.776 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.777 [nioEventLoopGroup-356-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf98fc71, /127.0.0.1:41738 => /127.0.0.1:33940] FLUSH
17:12:30.777 [nioEventLoopGroup-356-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf98fc71, /127.0.0.1:41738 :> /127.0.0.1:33940] INACTIVE
17:12:30.777 [nioEventLoopGroup-367-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-367-1
17:12:30.778 [nioEventLoopGroup-356-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf98fc71, /127.0.0.1:41738 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.779 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.782 [nioEventLoopGroup-356-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf464fd7d, /127.0.0.1:41740 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:30.783 [nioEventLoopGroup-356-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:30.784 [nioEventLoopGroup-356-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf464fd7d, /127.0.0.1:41740 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.784 [nioEventLoopGroup-356-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf464fd7d, /127.0.0.1:41740 => /127.0.0.1:33940] FLUSH
17:12:30.784 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.785 [nioEventLoopGroup-356-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf464fd7d, /127.0.0.1:41740 => /127.0.0.1:33940] FLUSH
17:12:30.785 [nioEventLoopGroup-368-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-368-1
17:12:30.785 [nioEventLoopGroup-356-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf464fd7d, /127.0.0.1:41740 :> /127.0.0.1:33940] INACTIVE
17:12:30.785 [nioEventLoopGroup-356-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf464fd7d, /127.0.0.1:41740 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.792 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:30.797 [nioEventLoopGroup-356-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80cd71d0, /127.0.0.1:41742 => /127.0.0.1:33940] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:30.798 [nioEventLoopGroup-356-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:30.798 [nioEventLoopGroup-356-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80cd71d0, /127.0.0.1:41742 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.798 [nioEventLoopGroup-356-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80cd71d0, /127.0.0.1:41742 => /127.0.0.1:33940] FLUSH
17:12:30.799 [nioEventLoopGroup-356-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80cd71d0, /127.0.0.1:41742 => /127.0.0.1:33940] FLUSH
17:12:30.799 [nioEventLoopGroup-356-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80cd71d0, /127.0.0.1:41742 :> /127.0.0.1:33940] INACTIVE
17:12:30.799 [nioEventLoopGroup-356-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80cd71d0, /127.0.0.1:41742 :> /127.0.0.1:33940] UNREGISTERED
17:12:30.800 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.800 [nioEventLoopGroup-369-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-369-1
17:12:30.804 [nioEventLoopGroup-356-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9858fd93, /127.0.0.1:41744 => /127.0.0.1:33940] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:33940
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:30.805 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.806 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.808 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:30.810 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.812 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.813 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.815 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.817 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.819 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.820 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:30.822 [nioEventLoopGroup-356-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:30.825 [nioEventLoopGroup-356-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9858fd93, /127.0.0.1:41744 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:30.826 [nioEventLoopGroup-356-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9858fd93, /127.0.0.1:41744 => /127.0.0.1:33940] FLUSH
17:12:30.828 [nioEventLoopGroup-356-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9858fd93, /127.0.0.1:41744 => /127.0.0.1:33940] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status400 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:33940
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:30.829 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.829 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.830 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:30.830 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.831 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.831 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.831 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.832 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.832 [nioEventLoopGroup-340-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38b09d9c, /127.0.0.1:60362 :> /127.0.0.1:34757] FLUSH
17:12:30.832 [nioEventLoopGroup-340-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38b09d9c, /127.0.0.1:60362 :> /127.0.0.1:34757] INACTIVE
17:12:30.832 [nioEventLoopGroup-340-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38b09d9c, /127.0.0.1:60362 :> /127.0.0.1:34757] UNREGISTERED
17:12:30.832 [nioEventLoopGroup-340-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-15
17:12:30.833 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:30.833 [nioEventLoopGroup-356-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}


17:12:30.834 [nioEventLoopGroup-356-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 400
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status400",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33940" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:30.834 [nioEventLoopGroup-356-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9858fd93, /127.0.0.1:41744 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 400 Bad Request
Content-Length: 0
Connection: keep-alive, 0B
17:12:30.834 [nioEventLoopGroup-356-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9858fd93, /127.0.0.1:41744 => /127.0.0.1:33940] FLUSH
17:12:30.835 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:30.836 [nioEventLoopGroup-324-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-324-14
17:12:30.839 [nioEventLoopGroup-356-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e944307, /127.0.0.1:41748 => /127.0.0.1:33940] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:33940
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:30.839 [nioEventLoopGroup-356-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e944307, /127.0.0.1:41748 => /127.0.0.1:33940] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:30.839 [nioEventLoopGroup-356-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e944307, /127.0.0.1:41748 => /127.0.0.1:33940] FLUSH
17:12:30.839 [nioEventLoopGroup-356-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e944307, /127.0.0.1:41748 => /127.0.0.1:33940] CLOSE()
17:12:30.840 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:30.840 [nioEventLoopGroup-370-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-370-1
17:12:30.842 [nioEventLoopGroup-356-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-5
17:12:30.842 [nioEventLoopGroup-356-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-6
17:12:30.842 [nioEventLoopGroup-356-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-2
17:12:30.842 [nioEventLoopGroup-356-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-1
17:12:30.842 [nioEventLoopGroup-356-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-7
17:12:30.842 [nioEventLoopGroup-356-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-3
17:12:30.842 [nioEventLoopGroup-356-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-11
17:12:30.842 [nioEventLoopGroup-356-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-4
17:12:30.842 [nioEventLoopGroup-356-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-12
17:12:30.842 [nioEventLoopGroup-356-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-8
17:12:30.842 [nioEventLoopGroup-356-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-9
17:12:30.842 [nioEventLoopGroup-356-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-10
17:12:30.842 [nioEventLoopGroup-356-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-13
17:12:30.842 [nioEventLoopGroup-356-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9858fd93, /127.0.0.1:41744 :> /127.0.0.1:33940] INACTIVE
17:12:30.843 [nioEventLoopGroup-356-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9858fd93, /127.0.0.1:41744 :> /127.0.0.1:33940] UNREGISTERED
17:12:31.194 [MockServer thread for port: 33336] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 33336
17:12:31.194 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.197 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c1d1c5, /127.0.0.1:52578 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:31.198 [nioEventLoopGroup-372-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:31.198 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c1d1c5, /127.0.0.1:52578 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.198 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c1d1c5, /127.0.0.1:52578 => /127.0.0.1:33336] FLUSH
17:12:31.198 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.198 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c1d1c5, /127.0.0.1:52578 => /127.0.0.1:33336] FLUSH
17:12:31.198 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c1d1c5, /127.0.0.1:52578 :> /127.0.0.1:33336] INACTIVE
17:12:31.198 [nioEventLoopGroup-372-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c1d1c5, /127.0.0.1:52578 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.199 [nioEventLoopGroup-373-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-373-1
17:12:31.199 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.202 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d16d96, /127.0.0.1:52580 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:31.203 [nioEventLoopGroup-372-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:31.203 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d16d96, /127.0.0.1:52580 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.203 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d16d96, /127.0.0.1:52580 => /127.0.0.1:33336] FLUSH
17:12:31.203 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.203 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d16d96, /127.0.0.1:52580 => /127.0.0.1:33336] FLUSH
17:12:31.204 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d16d96, /127.0.0.1:52580 :> /127.0.0.1:33336] INACTIVE
17:12:31.204 [nioEventLoopGroup-372-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80d16d96, /127.0.0.1:52580 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.204 [nioEventLoopGroup-374-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-374-1
17:12:31.204 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.208 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d177f4d, /127.0.0.1:52584 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:31.210 [nioEventLoopGroup-372-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:31.210 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d177f4d, /127.0.0.1:52584 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.211 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d177f4d, /127.0.0.1:52584 => /127.0.0.1:33336] FLUSH
17:12:31.211 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.211 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d177f4d, /127.0.0.1:52584 => /127.0.0.1:33336] FLUSH
17:12:31.211 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d177f4d, /127.0.0.1:52584 :> /127.0.0.1:33336] INACTIVE
17:12:31.211 [nioEventLoopGroup-372-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4d177f4d, /127.0.0.1:52584 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.211 [nioEventLoopGroup-375-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-375-1
17:12:31.212 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.215 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5aab7088, /127.0.0.1:52588 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.215 [nioEventLoopGroup-372-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:31.216 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5aab7088, /127.0.0.1:52588 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.216 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5aab7088, /127.0.0.1:52588 => /127.0.0.1:33336] FLUSH
17:12:31.216 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.216 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5aab7088, /127.0.0.1:52588 => /127.0.0.1:33336] FLUSH
17:12:31.216 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5aab7088, /127.0.0.1:52588 :> /127.0.0.1:33336] INACTIVE
17:12:31.216 [nioEventLoopGroup-372-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5aab7088, /127.0.0.1:52588 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.216 [nioEventLoopGroup-376-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-376-1
17:12:31.217 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.221 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a6d6e9c, /127.0.0.1:52592 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:31.222 [nioEventLoopGroup-372-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:31.222 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a6d6e9c, /127.0.0.1:52592 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.222 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a6d6e9c, /127.0.0.1:52592 => /127.0.0.1:33336] FLUSH
17:12:31.222 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.222 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a6d6e9c, /127.0.0.1:52592 => /127.0.0.1:33336] FLUSH
17:12:31.222 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a6d6e9c, /127.0.0.1:52592 :> /127.0.0.1:33336] INACTIVE
17:12:31.222 [nioEventLoopGroup-377-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-377-1
17:12:31.222 [nioEventLoopGroup-372-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a6d6e9c, /127.0.0.1:52592 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.223 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.229 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x156aa0c2, /127.0.0.1:52598 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:31.230 [nioEventLoopGroup-372-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:31.230 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x156aa0c2, /127.0.0.1:52598 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.231 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x156aa0c2, /127.0.0.1:52598 => /127.0.0.1:33336] FLUSH
17:12:31.231 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.231 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x156aa0c2, /127.0.0.1:52598 => /127.0.0.1:33336] FLUSH
17:12:31.231 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x156aa0c2, /127.0.0.1:52598 :> /127.0.0.1:33336] INACTIVE
17:12:31.231 [nioEventLoopGroup-372-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x156aa0c2, /127.0.0.1:52598 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.231 [nioEventLoopGroup-378-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-378-1
17:12:31.233 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.237 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f61049e, /127.0.0.1:52602 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:31.238 [nioEventLoopGroup-372-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:31.239 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f61049e, /127.0.0.1:52602 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.239 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f61049e, /127.0.0.1:52602 => /127.0.0.1:33336] FLUSH
17:12:31.239 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.239 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f61049e, /127.0.0.1:52602 => /127.0.0.1:33336] FLUSH
17:12:31.239 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f61049e, /127.0.0.1:52602 :> /127.0.0.1:33336] INACTIVE
17:12:31.239 [nioEventLoopGroup-379-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-379-1
17:12:31.240 [nioEventLoopGroup-372-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f61049e, /127.0.0.1:52602 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.241 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.248 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca9e28e6, /127.0.0.1:52606 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.249 [nioEventLoopGroup-372-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:31.249 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca9e28e6, /127.0.0.1:52606 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.249 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca9e28e6, /127.0.0.1:52606 => /127.0.0.1:33336] FLUSH
17:12:31.250 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.250 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca9e28e6, /127.0.0.1:52606 => /127.0.0.1:33336] FLUSH
17:12:31.250 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca9e28e6, /127.0.0.1:52606 :> /127.0.0.1:33336] INACTIVE
17:12:31.250 [nioEventLoopGroup-372-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xca9e28e6, /127.0.0.1:52606 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.250 [nioEventLoopGroup-380-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-380-1
17:12:31.264 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.266 [nioEventLoopGroup-372-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08b07741, /127.0.0.1:52610 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.267 [nioEventLoopGroup-372-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:31.267 [nioEventLoopGroup-372-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08b07741, /127.0.0.1:52610 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.267 [nioEventLoopGroup-372-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08b07741, /127.0.0.1:52610 => /127.0.0.1:33336] FLUSH
17:12:31.267 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.267 [nioEventLoopGroup-372-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08b07741, /127.0.0.1:52610 => /127.0.0.1:33336] FLUSH
17:12:31.268 [nioEventLoopGroup-372-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08b07741, /127.0.0.1:52610 :> /127.0.0.1:33336] INACTIVE
17:12:31.268 [nioEventLoopGroup-381-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-381-1
17:12:31.268 [nioEventLoopGroup-372-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x08b07741, /127.0.0.1:52610 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.268 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.271 [nioEventLoopGroup-372-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3becf994, /127.0.0.1:52612 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.272 [nioEventLoopGroup-372-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:31.272 [nioEventLoopGroup-372-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3becf994, /127.0.0.1:52612 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.272 [nioEventLoopGroup-372-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3becf994, /127.0.0.1:52612 => /127.0.0.1:33336] FLUSH
17:12:31.272 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.273 [nioEventLoopGroup-372-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3becf994, /127.0.0.1:52612 => /127.0.0.1:33336] FLUSH
17:12:31.273 [nioEventLoopGroup-372-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3becf994, /127.0.0.1:52612 :> /127.0.0.1:33336] INACTIVE
17:12:31.273 [nioEventLoopGroup-372-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3becf994, /127.0.0.1:52612 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.273 [nioEventLoopGroup-382-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-382-1
17:12:31.274 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.277 [nioEventLoopGroup-372-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0cce544b, /127.0.0.1:52616 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.278 [nioEventLoopGroup-372-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:31.278 [nioEventLoopGroup-372-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0cce544b, /127.0.0.1:52616 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.278 [nioEventLoopGroup-372-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0cce544b, /127.0.0.1:52616 => /127.0.0.1:33336] FLUSH
17:12:31.278 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.278 [nioEventLoopGroup-372-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0cce544b, /127.0.0.1:52616 => /127.0.0.1:33336] FLUSH
17:12:31.278 [nioEventLoopGroup-383-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-383-1
17:12:31.278 [nioEventLoopGroup-372-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0cce544b, /127.0.0.1:52616 :> /127.0.0.1:33336] INACTIVE
17:12:31.278 [nioEventLoopGroup-372-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0cce544b, /127.0.0.1:52616 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.280 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.283 [nioEventLoopGroup-372-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x725c5e68, /127.0.0.1:52620 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:31.283 [nioEventLoopGroup-372-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:31.284 [nioEventLoopGroup-372-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x725c5e68, /127.0.0.1:52620 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.284 [nioEventLoopGroup-372-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x725c5e68, /127.0.0.1:52620 => /127.0.0.1:33336] FLUSH
17:12:31.284 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.284 [nioEventLoopGroup-372-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x725c5e68, /127.0.0.1:52620 => /127.0.0.1:33336] FLUSH
17:12:31.284 [nioEventLoopGroup-372-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x725c5e68, /127.0.0.1:52620 :> /127.0.0.1:33336] INACTIVE
17:12:31.284 [nioEventLoopGroup-372-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x725c5e68, /127.0.0.1:52620 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.284 [nioEventLoopGroup-384-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-384-1
17:12:31.285 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.287 [nioEventLoopGroup-372-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d262167, /127.0.0.1:52622 => /127.0.0.1:33336] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:31.287 [nioEventLoopGroup-372-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:31.288 [nioEventLoopGroup-372-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d262167, /127.0.0.1:52622 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.288 [nioEventLoopGroup-372-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d262167, /127.0.0.1:52622 => /127.0.0.1:33336] FLUSH
17:12:31.288 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.288 [nioEventLoopGroup-372-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d262167, /127.0.0.1:52622 => /127.0.0.1:33336] FLUSH
17:12:31.288 [nioEventLoopGroup-372-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d262167, /127.0.0.1:52622 :> /127.0.0.1:33336] INACTIVE
17:12:31.288 [nioEventLoopGroup-385-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-385-1
17:12:31.288 [nioEventLoopGroup-372-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d262167, /127.0.0.1:52622 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.290 [nioEventLoopGroup-372-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89366e27, /127.0.0.1:52624 => /127.0.0.1:33336] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:33336
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:31.290 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.291 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.291 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:31.291 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.291 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.291 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.291 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.292 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.292 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.292 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.292 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:31.292 [nioEventLoopGroup-372-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:31.293 [nioEventLoopGroup-372-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89366e27, /127.0.0.1:52624 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:31.293 [nioEventLoopGroup-372-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89366e27, /127.0.0.1:52624 => /127.0.0.1:33336] FLUSH
17:12:31.295 [nioEventLoopGroup-372-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89366e27, /127.0.0.1:52624 => /127.0.0.1:33336] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /status500 HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:33336
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:31.295 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.296 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.296 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:31.296 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.296 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.296 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.296 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.297 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.297 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.297 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:31.297 [nioEventLoopGroup-372-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}


17:12:31.297 [nioEventLoopGroup-372-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 500
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/status500",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:33336" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:31.298 [nioEventLoopGroup-372-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89366e27, /127.0.0.1:52624 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Connection: keep-alive, 0B
17:12:31.298 [nioEventLoopGroup-372-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89366e27, /127.0.0.1:52624 => /127.0.0.1:33336] FLUSH
17:12:31.298 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:31.301 [nioEventLoopGroup-372-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82826980, /127.0.0.1:52626 => /127.0.0.1:33336] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:33336
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:31.301 [nioEventLoopGroup-372-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82826980, /127.0.0.1:52626 => /127.0.0.1:33336] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.301 [nioEventLoopGroup-372-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82826980, /127.0.0.1:52626 => /127.0.0.1:33336] FLUSH
17:12:31.301 [nioEventLoopGroup-372-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82826980, /127.0.0.1:52626 => /127.0.0.1:33336] CLOSE()
17:12:31.302 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.302 [nioEventLoopGroup-386-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-386-1
17:12:31.303 [nioEventLoopGroup-372-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-2
17:12:31.303 [nioEventLoopGroup-372-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-1
17:12:31.303 [nioEventLoopGroup-372-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-11
17:12:31.303 [nioEventLoopGroup-372-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-12
17:12:31.303 [nioEventLoopGroup-372-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-3
17:12:31.303 [nioEventLoopGroup-372-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-13
17:12:31.303 [nioEventLoopGroup-372-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-4
17:12:31.303 [nioEventLoopGroup-372-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-6
17:12:31.303 [nioEventLoopGroup-372-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-5
17:12:31.303 [nioEventLoopGroup-372-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-7
17:12:31.303 [nioEventLoopGroup-372-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-10
17:12:31.303 [nioEventLoopGroup-372-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-8
17:12:31.303 [nioEventLoopGroup-372-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-9
17:12:31.305 [nioEventLoopGroup-372-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89366e27, /127.0.0.1:52624 :> /127.0.0.1:33336] INACTIVE
17:12:31.305 [nioEventLoopGroup-372-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x89366e27, /127.0.0.1:52624 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.334 [nioEventLoopGroup-340-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-340-14
17:12:31.342 [nioEventLoopGroup-356-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e944307, /127.0.0.1:41748 :> /127.0.0.1:33940] FLUSH
17:12:31.342 [nioEventLoopGroup-356-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e944307, /127.0.0.1:41748 :> /127.0.0.1:33940] INACTIVE
17:12:31.342 [nioEventLoopGroup-356-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2e944307, /127.0.0.1:41748 :> /127.0.0.1:33940] UNREGISTERED
17:12:31.342 [nioEventLoopGroup-356-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-15
17:12:31.657 [MockServer thread for port: 36782] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 36782
17:12:31.658 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.662 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3446e6bf, /127.0.0.1:58928 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:31.663 [nioEventLoopGroup-388-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:31.663 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3446e6bf, /127.0.0.1:58928 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.664 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3446e6bf, /127.0.0.1:58928 => /127.0.0.1:36782] FLUSH
17:12:31.664 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3446e6bf, /127.0.0.1:58928 => /127.0.0.1:36782] FLUSH
17:12:31.664 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.664 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3446e6bf, /127.0.0.1:58928 :> /127.0.0.1:36782] INACTIVE
17:12:31.664 [nioEventLoopGroup-388-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3446e6bf, /127.0.0.1:58928 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.664 [nioEventLoopGroup-389-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-389-1
17:12:31.666 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.669 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2e4c934, /127.0.0.1:58932 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:31.670 [nioEventLoopGroup-388-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:31.670 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2e4c934, /127.0.0.1:58932 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.671 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2e4c934, /127.0.0.1:58932 => /127.0.0.1:36782] FLUSH
17:12:31.671 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.671 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2e4c934, /127.0.0.1:58932 => /127.0.0.1:36782] FLUSH
17:12:31.671 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2e4c934, /127.0.0.1:58932 :> /127.0.0.1:36782] INACTIVE
17:12:31.671 [nioEventLoopGroup-390-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-390-1
17:12:31.671 [nioEventLoopGroup-388-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2e4c934, /127.0.0.1:58932 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.672 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.675 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06e72fc5, /127.0.0.1:58936 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:31.677 [nioEventLoopGroup-388-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:31.677 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06e72fc5, /127.0.0.1:58936 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.677 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06e72fc5, /127.0.0.1:58936 => /127.0.0.1:36782] FLUSH
17:12:31.678 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.678 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06e72fc5, /127.0.0.1:58936 => /127.0.0.1:36782] FLUSH
17:12:31.678 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06e72fc5, /127.0.0.1:58936 :> /127.0.0.1:36782] INACTIVE
17:12:31.678 [nioEventLoopGroup-391-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-391-1
17:12:31.678 [nioEventLoopGroup-388-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x06e72fc5, /127.0.0.1:58936 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.679 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.682 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fd95091, /127.0.0.1:58938 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.683 [nioEventLoopGroup-388-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:31.683 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fd95091, /127.0.0.1:58938 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.683 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fd95091, /127.0.0.1:58938 => /127.0.0.1:36782] FLUSH
17:12:31.683 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.684 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fd95091, /127.0.0.1:58938 => /127.0.0.1:36782] FLUSH
17:12:31.684 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fd95091, /127.0.0.1:58938 :> /127.0.0.1:36782] INACTIVE
17:12:31.684 [nioEventLoopGroup-392-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-392-1
17:12:31.684 [nioEventLoopGroup-388-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8fd95091, /127.0.0.1:58938 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.685 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.687 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bf0d639, /127.0.0.1:58940 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:31.688 [nioEventLoopGroup-388-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:31.689 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bf0d639, /127.0.0.1:58940 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.689 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bf0d639, /127.0.0.1:58940 => /127.0.0.1:36782] FLUSH
17:12:31.689 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.689 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bf0d639, /127.0.0.1:58940 => /127.0.0.1:36782] FLUSH
17:12:31.690 [nioEventLoopGroup-393-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-393-1
17:12:31.690 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bf0d639, /127.0.0.1:58940 :> /127.0.0.1:36782] INACTIVE
17:12:31.690 [nioEventLoopGroup-388-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0bf0d639, /127.0.0.1:58940 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.691 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.694 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed65b361, /127.0.0.1:58942 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:31.695 [nioEventLoopGroup-388-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:31.695 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed65b361, /127.0.0.1:58942 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.695 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed65b361, /127.0.0.1:58942 => /127.0.0.1:36782] FLUSH
17:12:31.696 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.696 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed65b361, /127.0.0.1:58942 => /127.0.0.1:36782] FLUSH
17:12:31.696 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed65b361, /127.0.0.1:58942 :> /127.0.0.1:36782] INACTIVE
17:12:31.696 [nioEventLoopGroup-394-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-394-1
17:12:31.696 [nioEventLoopGroup-388-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed65b361, /127.0.0.1:58942 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.698 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.701 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed6702b9, /127.0.0.1:58946 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:31.701 [nioEventLoopGroup-388-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:31.702 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed6702b9, /127.0.0.1:58946 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.702 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed6702b9, /127.0.0.1:58946 => /127.0.0.1:36782] FLUSH
17:12:31.702 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.702 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed6702b9, /127.0.0.1:58946 => /127.0.0.1:36782] FLUSH
17:12:31.702 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed6702b9, /127.0.0.1:58946 :> /127.0.0.1:36782] INACTIVE
17:12:31.702 [nioEventLoopGroup-395-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-395-1
17:12:31.703 [nioEventLoopGroup-388-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xed6702b9, /127.0.0.1:58946 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.704 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.707 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xecd73b8e, /127.0.0.1:58950 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.707 [nioEventLoopGroup-388-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:31.708 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xecd73b8e, /127.0.0.1:58950 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.708 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xecd73b8e, /127.0.0.1:58950 => /127.0.0.1:36782] FLUSH
17:12:31.708 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.709 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xecd73b8e, /127.0.0.1:58950 => /127.0.0.1:36782] FLUSH
17:12:31.709 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xecd73b8e, /127.0.0.1:58950 :> /127.0.0.1:36782] INACTIVE
17:12:31.709 [nioEventLoopGroup-388-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xecd73b8e, /127.0.0.1:58950 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.709 [nioEventLoopGroup-396-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-396-1
17:12:31.710 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.713 [nioEventLoopGroup-388-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df7963c, /127.0.0.1:58954 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.714 [nioEventLoopGroup-388-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:31.715 [nioEventLoopGroup-388-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df7963c, /127.0.0.1:58954 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.715 [nioEventLoopGroup-388-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df7963c, /127.0.0.1:58954 => /127.0.0.1:36782] FLUSH
17:12:31.725 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.725 [nioEventLoopGroup-397-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-397-1
17:12:31.725 [nioEventLoopGroup-388-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df7963c, /127.0.0.1:58954 => /127.0.0.1:36782] FLUSH
17:12:31.726 [nioEventLoopGroup-388-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df7963c, /127.0.0.1:58954 :> /127.0.0.1:36782] INACTIVE
17:12:31.726 [nioEventLoopGroup-388-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0df7963c, /127.0.0.1:58954 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.726 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.729 [nioEventLoopGroup-388-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33ec60ed, /127.0.0.1:58956 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.730 [nioEventLoopGroup-388-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:31.730 [nioEventLoopGroup-388-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33ec60ed, /127.0.0.1:58956 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.731 [nioEventLoopGroup-388-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33ec60ed, /127.0.0.1:58956 => /127.0.0.1:36782] FLUSH
17:12:31.731 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.731 [nioEventLoopGroup-388-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33ec60ed, /127.0.0.1:58956 => /127.0.0.1:36782] FLUSH
17:12:31.731 [nioEventLoopGroup-398-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-398-1
17:12:31.731 [nioEventLoopGroup-388-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33ec60ed, /127.0.0.1:58956 :> /127.0.0.1:36782] INACTIVE
17:12:31.731 [nioEventLoopGroup-388-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33ec60ed, /127.0.0.1:58956 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.732 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.736 [nioEventLoopGroup-388-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x487f8c8a, /127.0.0.1:58958 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:31.736 [nioEventLoopGroup-388-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:31.737 [nioEventLoopGroup-388-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x487f8c8a, /127.0.0.1:58958 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.737 [nioEventLoopGroup-388-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x487f8c8a, /127.0.0.1:58958 => /127.0.0.1:36782] FLUSH
17:12:31.737 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.737 [nioEventLoopGroup-388-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x487f8c8a, /127.0.0.1:58958 => /127.0.0.1:36782] FLUSH
17:12:31.737 [nioEventLoopGroup-388-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x487f8c8a, /127.0.0.1:58958 :> /127.0.0.1:36782] INACTIVE
17:12:31.737 [nioEventLoopGroup-399-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-399-1
17:12:31.737 [nioEventLoopGroup-388-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x487f8c8a, /127.0.0.1:58958 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.738 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.741 [nioEventLoopGroup-388-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5179b2d4, /127.0.0.1:58960 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:31.743 [nioEventLoopGroup-388-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:31.744 [nioEventLoopGroup-388-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5179b2d4, /127.0.0.1:58960 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.744 [nioEventLoopGroup-388-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5179b2d4, /127.0.0.1:58960 => /127.0.0.1:36782] FLUSH
17:12:31.745 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.746 [nioEventLoopGroup-400-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-400-1
17:12:31.748 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:31.750 [nioEventLoopGroup-388-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5179b2d4, /127.0.0.1:58960 => /127.0.0.1:36782] FLUSH
17:12:31.751 [nioEventLoopGroup-388-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5179b2d4, /127.0.0.1:58960 :> /127.0.0.1:36782] INACTIVE
17:12:31.751 [nioEventLoopGroup-388-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5179b2d4, /127.0.0.1:58960 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.753 [nioEventLoopGroup-388-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa04e91ef, /127.0.0.1:58962 => /127.0.0.1:36782] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:31.754 [nioEventLoopGroup-388-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:31.755 [nioEventLoopGroup-388-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa04e91ef, /127.0.0.1:58962 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.755 [nioEventLoopGroup-388-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa04e91ef, /127.0.0.1:58962 => /127.0.0.1:36782] FLUSH
17:12:31.755 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.755 [nioEventLoopGroup-401-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-401-1
17:12:31.756 [nioEventLoopGroup-388-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa04e91ef, /127.0.0.1:58962 => /127.0.0.1:36782] FLUSH
17:12:31.756 [nioEventLoopGroup-388-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa04e91ef, /127.0.0.1:58962 :> /127.0.0.1:36782] INACTIVE
17:12:31.756 [nioEventLoopGroup-388-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa04e91ef, /127.0.0.1:58962 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.774 [nioEventLoopGroup-388-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x607b46ef, /127.0.0.1:58964 => /127.0.0.1:36782] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET / HTTP/1.1
Host: localhost:36782
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:31.775 [nioEventLoopGroup-388-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:36782" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}


17:12:31.775 [nioEventLoopGroup-388-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:36782" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:31.775 [nioEventLoopGroup-388-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x607b46ef, /127.0.0.1:58964 => /127.0.0.1:36782] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:31.776 [nioEventLoopGroup-388-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x607b46ef, /127.0.0.1:58964 => /127.0.0.1:36782] FLUSH
17:12:31.783 [nioEventLoopGroup-388-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7121c02b, /127.0.0.1:58966 => /127.0.0.1:36782] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET / HTTP/1.1
Host: localhost:36782
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:31.783 [nioEventLoopGroup-388-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:36782" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}


17:12:31.784 [nioEventLoopGroup-388-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:36782" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:31.784 [nioEventLoopGroup-388-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7121c02b, /127.0.0.1:58966 => /127.0.0.1:36782] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:31.784 [nioEventLoopGroup-388-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7121c02b, /127.0.0.1:58966 => /127.0.0.1:36782] FLUSH
17:12:31.785 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:31.787 [nioEventLoopGroup-388-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeccdc153, /127.0.0.1:58968 => /127.0.0.1:36782] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:36782
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:31.788 [nioEventLoopGroup-388-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeccdc153, /127.0.0.1:58968 => /127.0.0.1:36782] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:31.788 [nioEventLoopGroup-388-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeccdc153, /127.0.0.1:58968 => /127.0.0.1:36782] FLUSH
17:12:31.788 [nioEventLoopGroup-388-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeccdc153, /127.0.0.1:58968 => /127.0.0.1:36782] CLOSE()
17:12:31.789 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:31.789 [nioEventLoopGroup-402-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-402-1
17:12:31.791 [nioEventLoopGroup-388-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-3
17:12:31.791 [nioEventLoopGroup-388-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-2
17:12:31.791 [nioEventLoopGroup-388-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-1
17:12:31.791 [nioEventLoopGroup-388-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-7
17:12:31.791 [nioEventLoopGroup-388-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-4
17:12:31.791 [nioEventLoopGroup-388-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-12
17:12:31.791 [nioEventLoopGroup-388-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-5
17:12:31.791 [nioEventLoopGroup-388-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-10
17:12:31.791 [nioEventLoopGroup-388-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-6
17:12:31.791 [nioEventLoopGroup-388-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-8
17:12:31.791 [nioEventLoopGroup-388-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-9
17:12:31.791 [nioEventLoopGroup-388-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-11
17:12:31.791 [nioEventLoopGroup-388-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x607b46ef, /127.0.0.1:58964 :> /127.0.0.1:36782] INACTIVE
17:12:31.791 [nioEventLoopGroup-388-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-13
17:12:31.791 [nioEventLoopGroup-388-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7121c02b, /127.0.0.1:58966 :> /127.0.0.1:36782] INACTIVE
17:12:31.791 [nioEventLoopGroup-388-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x607b46ef, /127.0.0.1:58964 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.791 [nioEventLoopGroup-388-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7121c02b, /127.0.0.1:58966 :> /127.0.0.1:36782] UNREGISTERED
17:12:31.803 [nioEventLoopGroup-372-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82826980, /127.0.0.1:52626 :> /127.0.0.1:33336] FLUSH
17:12:31.803 [nioEventLoopGroup-372-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82826980, /127.0.0.1:52626 :> /127.0.0.1:33336] INACTIVE
17:12:31.803 [nioEventLoopGroup-372-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x82826980, /127.0.0.1:52626 :> /127.0.0.1:33336] UNREGISTERED
17:12:31.803 [nioEventLoopGroup-372-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-15
17:12:31.844 [nioEventLoopGroup-356-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-356-14
17:12:32.142 [MockServer thread for port: 35758] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 35758
17:12:32.143 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.147 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3f619b6, /127.0.0.1:42508 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:32.148 [nioEventLoopGroup-404-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:32.149 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3f619b6, /127.0.0.1:42508 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.149 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3f619b6, /127.0.0.1:42508 => /127.0.0.1:35758] FLUSH
17:12:32.150 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.150 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3f619b6, /127.0.0.1:42508 => /127.0.0.1:35758] FLUSH
17:12:32.150 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3f619b6, /127.0.0.1:42508 :> /127.0.0.1:35758] INACTIVE
17:12:32.150 [nioEventLoopGroup-404-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf3f619b6, /127.0.0.1:42508 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.150 [nioEventLoopGroup-405-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-405-1
17:12:32.152 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.154 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcdb3ea6, /127.0.0.1:42510 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:32.155 [nioEventLoopGroup-404-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:32.156 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcdb3ea6, /127.0.0.1:42510 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.156 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcdb3ea6, /127.0.0.1:42510 => /127.0.0.1:35758] FLUSH
17:12:32.156 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.156 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcdb3ea6, /127.0.0.1:42510 => /127.0.0.1:35758] FLUSH
17:12:32.156 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcdb3ea6, /127.0.0.1:42510 :> /127.0.0.1:35758] INACTIVE
17:12:32.156 [nioEventLoopGroup-404-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdcdb3ea6, /127.0.0.1:42510 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.156 [nioEventLoopGroup-406-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-406-1
17:12:32.157 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.159 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69b1b19d, /127.0.0.1:42512 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:32.160 [nioEventLoopGroup-404-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:32.160 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69b1b19d, /127.0.0.1:42512 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.161 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69b1b19d, /127.0.0.1:42512 => /127.0.0.1:35758] FLUSH
17:12:32.161 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.161 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69b1b19d, /127.0.0.1:42512 => /127.0.0.1:35758] FLUSH
17:12:32.161 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69b1b19d, /127.0.0.1:42512 :> /127.0.0.1:35758] INACTIVE
17:12:32.161 [nioEventLoopGroup-404-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x69b1b19d, /127.0.0.1:42512 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.161 [nioEventLoopGroup-407-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-407-1
17:12:32.162 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.164 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x454de467, /127.0.0.1:42514 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.165 [nioEventLoopGroup-404-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:32.165 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x454de467, /127.0.0.1:42514 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.165 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x454de467, /127.0.0.1:42514 => /127.0.0.1:35758] FLUSH
17:12:32.165 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.165 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x454de467, /127.0.0.1:42514 => /127.0.0.1:35758] FLUSH
17:12:32.165 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x454de467, /127.0.0.1:42514 :> /127.0.0.1:35758] INACTIVE
17:12:32.165 [nioEventLoopGroup-404-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x454de467, /127.0.0.1:42514 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.165 [nioEventLoopGroup-408-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-408-1
17:12:32.166 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.168 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1810625b, /127.0.0.1:42516 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:32.169 [nioEventLoopGroup-404-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:32.169 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1810625b, /127.0.0.1:42516 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.169 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1810625b, /127.0.0.1:42516 => /127.0.0.1:35758] FLUSH
17:12:32.169 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.169 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1810625b, /127.0.0.1:42516 => /127.0.0.1:35758] FLUSH
17:12:32.170 [nioEventLoopGroup-409-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-409-1
17:12:32.170 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1810625b, /127.0.0.1:42516 :> /127.0.0.1:35758] INACTIVE
17:12:32.170 [nioEventLoopGroup-404-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1810625b, /127.0.0.1:42516 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.171 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.173 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c0926c9, /127.0.0.1:42518 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:32.174 [nioEventLoopGroup-404-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:32.174 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c0926c9, /127.0.0.1:42518 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.174 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c0926c9, /127.0.0.1:42518 => /127.0.0.1:35758] FLUSH
17:12:32.174 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.174 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c0926c9, /127.0.0.1:42518 => /127.0.0.1:35758] FLUSH
17:12:32.174 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c0926c9, /127.0.0.1:42518 :> /127.0.0.1:35758] INACTIVE
17:12:32.174 [nioEventLoopGroup-404-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5c0926c9, /127.0.0.1:42518 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.174 [nioEventLoopGroup-410-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-410-1
17:12:32.175 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.177 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7326d0a, /127.0.0.1:42520 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:32.178 [nioEventLoopGroup-404-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:32.178 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7326d0a, /127.0.0.1:42520 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.178 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7326d0a, /127.0.0.1:42520 => /127.0.0.1:35758] FLUSH
17:12:32.178 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.178 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7326d0a, /127.0.0.1:42520 => /127.0.0.1:35758] FLUSH
17:12:32.179 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7326d0a, /127.0.0.1:42520 :> /127.0.0.1:35758] INACTIVE
17:12:32.179 [nioEventLoopGroup-404-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7326d0a, /127.0.0.1:42520 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.179 [nioEventLoopGroup-411-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-411-1
17:12:32.180 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.182 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6c5a40, /127.0.0.1:42522 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.183 [nioEventLoopGroup-404-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:32.183 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6c5a40, /127.0.0.1:42522 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.183 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6c5a40, /127.0.0.1:42522 => /127.0.0.1:35758] FLUSH
17:12:32.183 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.183 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6c5a40, /127.0.0.1:42522 => /127.0.0.1:35758] FLUSH
17:12:32.184 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6c5a40, /127.0.0.1:42522 :> /127.0.0.1:35758] INACTIVE
17:12:32.184 [nioEventLoopGroup-404-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d6c5a40, /127.0.0.1:42522 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.184 [nioEventLoopGroup-412-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-412-1
17:12:32.185 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.187 [nioEventLoopGroup-404-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5738150, /127.0.0.1:42524 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.188 [nioEventLoopGroup-404-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:32.188 [nioEventLoopGroup-404-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5738150, /127.0.0.1:42524 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.188 [nioEventLoopGroup-404-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5738150, /127.0.0.1:42524 => /127.0.0.1:35758] FLUSH
17:12:32.188 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.188 [nioEventLoopGroup-404-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5738150, /127.0.0.1:42524 => /127.0.0.1:35758] FLUSH
17:12:32.189 [nioEventLoopGroup-413-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-413-1
17:12:32.189 [nioEventLoopGroup-404-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5738150, /127.0.0.1:42524 :> /127.0.0.1:35758] INACTIVE
17:12:32.189 [nioEventLoopGroup-404-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5738150, /127.0.0.1:42524 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.189 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.192 [nioEventLoopGroup-404-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96a07ba2, /127.0.0.1:42526 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.192 [nioEventLoopGroup-404-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:32.192 [nioEventLoopGroup-404-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96a07ba2, /127.0.0.1:42526 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.192 [nioEventLoopGroup-404-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96a07ba2, /127.0.0.1:42526 => /127.0.0.1:35758] FLUSH
17:12:32.193 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.193 [nioEventLoopGroup-404-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96a07ba2, /127.0.0.1:42526 => /127.0.0.1:35758] FLUSH
17:12:32.193 [nioEventLoopGroup-414-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-414-1
17:12:32.193 [nioEventLoopGroup-404-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96a07ba2, /127.0.0.1:42526 :> /127.0.0.1:35758] INACTIVE
17:12:32.193 [nioEventLoopGroup-404-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96a07ba2, /127.0.0.1:42526 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.194 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.196 [nioEventLoopGroup-404-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e51359f, /127.0.0.1:42528 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.197 [nioEventLoopGroup-404-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:32.197 [nioEventLoopGroup-404-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e51359f, /127.0.0.1:42528 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.197 [nioEventLoopGroup-404-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e51359f, /127.0.0.1:42528 => /127.0.0.1:35758] FLUSH
17:12:32.197 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.197 [nioEventLoopGroup-404-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e51359f, /127.0.0.1:42528 => /127.0.0.1:35758] FLUSH
17:12:32.197 [nioEventLoopGroup-404-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e51359f, /127.0.0.1:42528 :> /127.0.0.1:35758] INACTIVE
17:12:32.197 [nioEventLoopGroup-404-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5e51359f, /127.0.0.1:42528 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.197 [nioEventLoopGroup-415-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-415-1
17:12:32.198 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.200 [nioEventLoopGroup-404-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64522c0d, /127.0.0.1:42530 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:32.201 [nioEventLoopGroup-404-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:32.201 [nioEventLoopGroup-404-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64522c0d, /127.0.0.1:42530 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.201 [nioEventLoopGroup-404-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64522c0d, /127.0.0.1:42530 => /127.0.0.1:35758] FLUSH
17:12:32.202 [nioEventLoopGroup-404-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64522c0d, /127.0.0.1:42530 => /127.0.0.1:35758] FLUSH
17:12:32.202 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.202 [nioEventLoopGroup-404-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64522c0d, /127.0.0.1:42530 :> /127.0.0.1:35758] INACTIVE
17:12:32.202 [nioEventLoopGroup-404-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x64522c0d, /127.0.0.1:42530 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.202 [nioEventLoopGroup-416-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-416-1
17:12:32.203 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.205 [nioEventLoopGroup-404-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe0a3fb7, /127.0.0.1:42532 => /127.0.0.1:35758] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:32.205 [nioEventLoopGroup-404-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:32.206 [nioEventLoopGroup-404-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe0a3fb7, /127.0.0.1:42532 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.206 [nioEventLoopGroup-404-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe0a3fb7, /127.0.0.1:42532 => /127.0.0.1:35758] FLUSH
17:12:32.206 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.206 [nioEventLoopGroup-404-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe0a3fb7, /127.0.0.1:42532 => /127.0.0.1:35758] FLUSH
17:12:32.206 [nioEventLoopGroup-404-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe0a3fb7, /127.0.0.1:42532 :> /127.0.0.1:35758] INACTIVE
17:12:32.206 [nioEventLoopGroup-404-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe0a3fb7, /127.0.0.1:42532 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.206 [nioEventLoopGroup-417-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-417-1
17:12:32.208 [nioEventLoopGroup-404-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b50707, /127.0.0.1:42534 => /127.0.0.1:35758] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET / HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:35758
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:32.209 [nioEventLoopGroup-404-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:35758" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}


17:12:32.209 [nioEventLoopGroup-404-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:35758" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:32.209 [nioEventLoopGroup-404-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b50707, /127.0.0.1:42534 => /127.0.0.1:35758] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:32.209 [nioEventLoopGroup-404-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b50707, /127.0.0.1:42534 => /127.0.0.1:35758] FLUSH
17:12:32.212 [nioEventLoopGroup-404-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b50707, /127.0.0.1:42534 => /127.0.0.1:35758] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET / HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:35758
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:32.212 [nioEventLoopGroup-404-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:35758" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}


17:12:32.212 [nioEventLoopGroup-404-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:35758" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:32.213 [nioEventLoopGroup-404-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b50707, /127.0.0.1:42534 => /127.0.0.1:35758] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:32.213 [nioEventLoopGroup-404-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b50707, /127.0.0.1:42534 => /127.0.0.1:35758] FLUSH
17:12:32.214 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:32.216 [nioEventLoopGroup-404-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57da316f, /127.0.0.1:42536 => /127.0.0.1:35758] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:35758
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:32.216 [nioEventLoopGroup-404-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57da316f, /127.0.0.1:42536 => /127.0.0.1:35758] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.216 [nioEventLoopGroup-404-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57da316f, /127.0.0.1:42536 => /127.0.0.1:35758] FLUSH
17:12:32.216 [nioEventLoopGroup-404-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57da316f, /127.0.0.1:42536 => /127.0.0.1:35758] CLOSE()
17:12:32.216 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.217 [nioEventLoopGroup-418-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-418-1
17:12:32.220 [nioEventLoopGroup-404-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-4
17:12:32.220 [nioEventLoopGroup-404-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-1
17:12:32.220 [nioEventLoopGroup-404-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-2
17:12:32.220 [nioEventLoopGroup-404-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-3
17:12:32.220 [nioEventLoopGroup-404-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-13
17:12:32.220 [nioEventLoopGroup-404-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-5
17:12:32.220 [nioEventLoopGroup-404-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-6
17:12:32.220 [nioEventLoopGroup-404-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-7
17:12:32.220 [nioEventLoopGroup-404-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b50707, /127.0.0.1:42534 :> /127.0.0.1:35758] INACTIVE
17:12:32.220 [nioEventLoopGroup-404-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-8
17:12:32.220 [nioEventLoopGroup-404-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-9
17:12:32.220 [nioEventLoopGroup-404-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-10
17:12:32.220 [nioEventLoopGroup-404-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-11
17:12:32.220 [nioEventLoopGroup-404-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-12
17:12:32.221 [nioEventLoopGroup-404-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b50707, /127.0.0.1:42534 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.291 [nioEventLoopGroup-388-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeccdc153, /127.0.0.1:58968 :> /127.0.0.1:36782] FLUSH
17:12:32.291 [nioEventLoopGroup-388-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeccdc153, /127.0.0.1:58968 :> /127.0.0.1:36782] INACTIVE
17:12:32.291 [nioEventLoopGroup-388-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeccdc153, /127.0.0.1:58968 :> /127.0.0.1:36782] UNREGISTERED
17:12:32.291 [nioEventLoopGroup-388-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-16
17:12:32.307 [nioEventLoopGroup-372-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-372-14
17:12:32.575 [MockServer thread for port: 35172] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 35172
17:12:32.576 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.580 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e79915e, /127.0.0.1:53386 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:32.581 [nioEventLoopGroup-420-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:32.581 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e79915e, /127.0.0.1:53386 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.581 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e79915e, /127.0.0.1:53386 => /127.0.0.1:35172] FLUSH
17:12:32.582 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.582 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e79915e, /127.0.0.1:53386 => /127.0.0.1:35172] FLUSH
17:12:32.582 [nioEventLoopGroup-421-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-421-1
17:12:32.582 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e79915e, /127.0.0.1:53386 :> /127.0.0.1:35172] INACTIVE
17:12:32.582 [nioEventLoopGroup-420-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6e79915e, /127.0.0.1:53386 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.583 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.586 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9296b4e, /127.0.0.1:53388 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:32.587 [nioEventLoopGroup-420-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:32.587 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9296b4e, /127.0.0.1:53388 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.587 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9296b4e, /127.0.0.1:53388 => /127.0.0.1:35172] FLUSH
17:12:32.588 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.588 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9296b4e, /127.0.0.1:53388 => /127.0.0.1:35172] FLUSH
17:12:32.588 [nioEventLoopGroup-422-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-422-1
17:12:32.588 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9296b4e, /127.0.0.1:53388 :> /127.0.0.1:35172] INACTIVE
17:12:32.588 [nioEventLoopGroup-420-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9296b4e, /127.0.0.1:53388 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.589 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.591 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2370c63, /127.0.0.1:53390 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:32.592 [nioEventLoopGroup-420-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:32.592 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2370c63, /127.0.0.1:53390 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.592 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2370c63, /127.0.0.1:53390 => /127.0.0.1:35172] FLUSH
17:12:32.592 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.593 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2370c63, /127.0.0.1:53390 => /127.0.0.1:35172] FLUSH
17:12:32.593 [nioEventLoopGroup-423-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-423-1
17:12:32.593 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2370c63, /127.0.0.1:53390 :> /127.0.0.1:35172] INACTIVE
17:12:32.593 [nioEventLoopGroup-420-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf2370c63, /127.0.0.1:53390 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.594 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.596 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f0f2a5c, /127.0.0.1:53392 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.596 [nioEventLoopGroup-420-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:32.596 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f0f2a5c, /127.0.0.1:53392 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.597 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f0f2a5c, /127.0.0.1:53392 => /127.0.0.1:35172] FLUSH
17:12:32.597 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.597 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f0f2a5c, /127.0.0.1:53392 => /127.0.0.1:35172] FLUSH
17:12:32.597 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f0f2a5c, /127.0.0.1:53392 :> /127.0.0.1:35172] INACTIVE
17:12:32.597 [nioEventLoopGroup-420-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f0f2a5c, /127.0.0.1:53392 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.597 [nioEventLoopGroup-424-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-424-1
17:12:32.598 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.600 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7513eec4, /127.0.0.1:53394 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:32.600 [nioEventLoopGroup-420-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:32.600 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7513eec4, /127.0.0.1:53394 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.600 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7513eec4, /127.0.0.1:53394 => /127.0.0.1:35172] FLUSH
17:12:32.601 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.601 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7513eec4, /127.0.0.1:53394 => /127.0.0.1:35172] FLUSH
17:12:32.601 [nioEventLoopGroup-425-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-425-1
17:12:32.601 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7513eec4, /127.0.0.1:53394 :> /127.0.0.1:35172] INACTIVE
17:12:32.601 [nioEventLoopGroup-420-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7513eec4, /127.0.0.1:53394 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.602 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.604 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa1d9b30, /127.0.0.1:53396 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:32.604 [nioEventLoopGroup-420-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:32.605 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa1d9b30, /127.0.0.1:53396 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.605 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa1d9b30, /127.0.0.1:53396 => /127.0.0.1:35172] FLUSH
17:12:32.605 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.605 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa1d9b30, /127.0.0.1:53396 => /127.0.0.1:35172] FLUSH
17:12:32.605 [nioEventLoopGroup-426-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-426-1
17:12:32.605 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa1d9b30, /127.0.0.1:53396 :> /127.0.0.1:35172] INACTIVE
17:12:32.605 [nioEventLoopGroup-420-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa1d9b30, /127.0.0.1:53396 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.606 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.607 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae13f63d, /127.0.0.1:53398 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:32.608 [nioEventLoopGroup-420-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:32.608 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae13f63d, /127.0.0.1:53398 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.608 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae13f63d, /127.0.0.1:53398 => /127.0.0.1:35172] FLUSH
17:12:32.608 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.608 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae13f63d, /127.0.0.1:53398 => /127.0.0.1:35172] FLUSH
17:12:32.608 [nioEventLoopGroup-427-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-427-1
17:12:32.608 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae13f63d, /127.0.0.1:53398 :> /127.0.0.1:35172] INACTIVE
17:12:32.609 [nioEventLoopGroup-420-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xae13f63d, /127.0.0.1:53398 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.609 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.612 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b6a6a04, /127.0.0.1:53400 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.612 [nioEventLoopGroup-420-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:32.613 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b6a6a04, /127.0.0.1:53400 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.613 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b6a6a04, /127.0.0.1:53400 => /127.0.0.1:35172] FLUSH
17:12:32.613 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.613 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b6a6a04, /127.0.0.1:53400 => /127.0.0.1:35172] FLUSH
17:12:32.613 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b6a6a04, /127.0.0.1:53400 :> /127.0.0.1:35172] INACTIVE
17:12:32.613 [nioEventLoopGroup-420-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b6a6a04, /127.0.0.1:53400 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.613 [nioEventLoopGroup-428-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-428-1
17:12:32.614 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.616 [nioEventLoopGroup-420-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc64839a, /127.0.0.1:53402 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.617 [nioEventLoopGroup-420-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:32.617 [nioEventLoopGroup-420-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc64839a, /127.0.0.1:53402 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.617 [nioEventLoopGroup-420-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc64839a, /127.0.0.1:53402 => /127.0.0.1:35172] FLUSH
17:12:32.617 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.617 [nioEventLoopGroup-420-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc64839a, /127.0.0.1:53402 => /127.0.0.1:35172] FLUSH
17:12:32.617 [nioEventLoopGroup-429-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-429-1
17:12:32.617 [nioEventLoopGroup-420-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc64839a, /127.0.0.1:53402 :> /127.0.0.1:35172] INACTIVE
17:12:32.617 [nioEventLoopGroup-420-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfc64839a, /127.0.0.1:53402 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.618 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.620 [nioEventLoopGroup-420-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c35bcd2, /127.0.0.1:53404 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.620 [nioEventLoopGroup-420-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:32.620 [nioEventLoopGroup-420-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c35bcd2, /127.0.0.1:53404 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.620 [nioEventLoopGroup-420-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c35bcd2, /127.0.0.1:53404 => /127.0.0.1:35172] FLUSH
17:12:32.621 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.621 [nioEventLoopGroup-420-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c35bcd2, /127.0.0.1:53404 => /127.0.0.1:35172] FLUSH
17:12:32.621 [nioEventLoopGroup-430-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-430-1
17:12:32.621 [nioEventLoopGroup-420-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c35bcd2, /127.0.0.1:53404 :> /127.0.0.1:35172] INACTIVE
17:12:32.621 [nioEventLoopGroup-420-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c35bcd2, /127.0.0.1:53404 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.621 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.623 [nioEventLoopGroup-420-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ad87468, /127.0.0.1:53406 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:32.624 [nioEventLoopGroup-420-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:32.624 [nioEventLoopGroup-420-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ad87468, /127.0.0.1:53406 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.624 [nioEventLoopGroup-420-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ad87468, /127.0.0.1:53406 => /127.0.0.1:35172] FLUSH
17:12:32.624 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.624 [nioEventLoopGroup-420-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ad87468, /127.0.0.1:53406 => /127.0.0.1:35172] FLUSH
17:12:32.625 [nioEventLoopGroup-431-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-431-1
17:12:32.625 [nioEventLoopGroup-420-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ad87468, /127.0.0.1:53406 :> /127.0.0.1:35172] INACTIVE
17:12:32.625 [nioEventLoopGroup-420-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3ad87468, /127.0.0.1:53406 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.625 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.627 [nioEventLoopGroup-420-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15b7862b, /127.0.0.1:53408 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:32.628 [nioEventLoopGroup-420-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:32.629 [nioEventLoopGroup-420-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15b7862b, /127.0.0.1:53408 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.629 [nioEventLoopGroup-420-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15b7862b, /127.0.0.1:53408 => /127.0.0.1:35172] FLUSH
17:12:32.629 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.629 [nioEventLoopGroup-420-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15b7862b, /127.0.0.1:53408 => /127.0.0.1:35172] FLUSH
17:12:32.629 [nioEventLoopGroup-420-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15b7862b, /127.0.0.1:53408 :> /127.0.0.1:35172] INACTIVE
17:12:32.629 [nioEventLoopGroup-420-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x15b7862b, /127.0.0.1:53408 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.629 [nioEventLoopGroup-432-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-432-1
17:12:32.630 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:32.632 [nioEventLoopGroup-420-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7db63ef, /127.0.0.1:53410 => /127.0.0.1:35172] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:32.633 [nioEventLoopGroup-420-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:32.633 [nioEventLoopGroup-420-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7db63ef, /127.0.0.1:53410 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.633 [nioEventLoopGroup-420-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7db63ef, /127.0.0.1:53410 => /127.0.0.1:35172] FLUSH
17:12:32.634 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.634 [nioEventLoopGroup-420-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7db63ef, /127.0.0.1:53410 => /127.0.0.1:35172] FLUSH
17:12:32.634 [nioEventLoopGroup-433-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-433-1
17:12:32.634 [nioEventLoopGroup-420-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7db63ef, /127.0.0.1:53410 :> /127.0.0.1:35172] INACTIVE
17:12:32.634 [nioEventLoopGroup-420-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd7db63ef, /127.0.0.1:53410 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.848 [nioEventLoopGroup-388-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-15
17:12:32.848 [nioEventLoopGroup-388-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-388-14
17:12:32.849 [nioEventLoopGroup-404-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57da316f, /127.0.0.1:42536 :> /127.0.0.1:35758] FLUSH
17:12:32.849 [nioEventLoopGroup-404-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57da316f, /127.0.0.1:42536 :> /127.0.0.1:35758] INACTIVE
17:12:32.849 [nioEventLoopGroup-404-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x57da316f, /127.0.0.1:42536 :> /127.0.0.1:35758] UNREGISTERED
17:12:32.849 [nioEventLoopGroup-404-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-15
17:12:32.853 [nioEventLoopGroup-420-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9feeb148, /127.0.0.1:53420 => /127.0.0.1:35172] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Host: localhost:35172
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:32.854 [nioEventLoopGroup-420-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:32.854 [nioEventLoopGroup-420-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:32.854 [nioEventLoopGroup-420-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:32.855 [nioEventLoopGroup-420-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}


17:12:32.855 [nioEventLoopGroup-420-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:32.855 [nioEventLoopGroup-420-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9feeb148, /127.0.0.1:53420 => /127.0.0.1:35172] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:32.855 [nioEventLoopGroup-420-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9feeb148, /127.0.0.1:53420 => /127.0.0.1:35172] FLUSH
17:12:32.861 [nioEventLoopGroup-420-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47a3875f, /127.0.0.1:53424 => /127.0.0.1:35172] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Host: localhost:35172
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:32.861 [nioEventLoopGroup-420-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:32.861 [nioEventLoopGroup-420-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:32.861 [nioEventLoopGroup-420-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:32.861 [nioEventLoopGroup-420-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}


17:12:32.862 [nioEventLoopGroup-420-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:35172" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:32.862 [nioEventLoopGroup-420-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47a3875f, /127.0.0.1:53424 => /127.0.0.1:35172] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:32.862 [nioEventLoopGroup-420-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47a3875f, /127.0.0.1:53424 => /127.0.0.1:35172] FLUSH
17:12:32.863 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:32.865 [nioEventLoopGroup-420-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee2e7b5e, /127.0.0.1:53428 => /127.0.0.1:35172] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:35172
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:32.865 [nioEventLoopGroup-420-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee2e7b5e, /127.0.0.1:53428 => /127.0.0.1:35172] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:32.865 [nioEventLoopGroup-420-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee2e7b5e, /127.0.0.1:53428 => /127.0.0.1:35172] FLUSH
17:12:32.865 [nioEventLoopGroup-420-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee2e7b5e, /127.0.0.1:53428 => /127.0.0.1:35172] CLOSE()
17:12:32.866 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:32.866 [nioEventLoopGroup-434-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-434-1
17:12:32.870 [nioEventLoopGroup-420-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-3
17:12:32.870 [nioEventLoopGroup-420-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-9
17:12:32.870 [nioEventLoopGroup-420-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-11
17:12:32.870 [nioEventLoopGroup-420-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-1
17:12:32.870 [nioEventLoopGroup-420-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-2
17:12:32.870 [nioEventLoopGroup-420-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-4
17:12:32.870 [nioEventLoopGroup-420-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-5
17:12:32.870 [nioEventLoopGroup-420-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-6
17:12:32.870 [nioEventLoopGroup-420-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-7
17:12:32.870 [nioEventLoopGroup-420-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-8
17:12:32.870 [nioEventLoopGroup-420-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-10
17:12:32.870 [nioEventLoopGroup-420-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-12
17:12:32.870 [nioEventLoopGroup-420-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-13
17:12:32.870 [nioEventLoopGroup-420-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9feeb148, /127.0.0.1:53420 :> /127.0.0.1:35172] INACTIVE
17:12:32.870 [nioEventLoopGroup-420-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47a3875f, /127.0.0.1:53424 :> /127.0.0.1:35172] INACTIVE
17:12:32.870 [nioEventLoopGroup-420-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9feeb148, /127.0.0.1:53420 :> /127.0.0.1:35172] UNREGISTERED
17:12:32.870 [nioEventLoopGroup-420-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x47a3875f, /127.0.0.1:53424 :> /127.0.0.1:35172] UNREGISTERED
17:12:33.223 [nioEventLoopGroup-404-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-404-14
17:12:33.223 [MockServer thread for port: 43956] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 43956
17:12:33.223 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.227 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9912cf7, /127.0.0.1:33704 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:33.228 [nioEventLoopGroup-436-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:33.229 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9912cf7, /127.0.0.1:33704 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.229 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9912cf7, /127.0.0.1:33704 => /127.0.0.1:43956] FLUSH
17:12:33.229 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.229 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9912cf7, /127.0.0.1:33704 => /127.0.0.1:43956] FLUSH
17:12:33.230 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9912cf7, /127.0.0.1:33704 :> /127.0.0.1:43956] INACTIVE
17:12:33.230 [nioEventLoopGroup-436-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe9912cf7, /127.0.0.1:33704 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.231 [nioEventLoopGroup-437-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-437-1
17:12:33.232 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.236 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4932d3f2, /127.0.0.1:33706 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:33.237 [nioEventLoopGroup-436-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:33.238 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4932d3f2, /127.0.0.1:33706 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.238 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4932d3f2, /127.0.0.1:33706 => /127.0.0.1:43956] FLUSH
17:12:33.238 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.238 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4932d3f2, /127.0.0.1:33706 => /127.0.0.1:43956] FLUSH
17:12:33.239 [nioEventLoopGroup-438-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-438-1
17:12:33.239 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4932d3f2, /127.0.0.1:33706 :> /127.0.0.1:43956] INACTIVE
17:12:33.239 [nioEventLoopGroup-436-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4932d3f2, /127.0.0.1:33706 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.240 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.242 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xce2e3fe7, /127.0.0.1:33708 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:33.243 [nioEventLoopGroup-436-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:33.243 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xce2e3fe7, /127.0.0.1:33708 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.243 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xce2e3fe7, /127.0.0.1:33708 => /127.0.0.1:43956] FLUSH
17:12:33.244 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.244 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xce2e3fe7, /127.0.0.1:33708 => /127.0.0.1:43956] FLUSH
17:12:33.244 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xce2e3fe7, /127.0.0.1:33708 :> /127.0.0.1:43956] INACTIVE
17:12:33.244 [nioEventLoopGroup-439-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-439-1
17:12:33.244 [nioEventLoopGroup-436-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xce2e3fe7, /127.0.0.1:33708 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.245 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.247 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8379d45, /127.0.0.1:33710 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.248 [nioEventLoopGroup-436-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:33.248 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8379d45, /127.0.0.1:33710 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.248 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8379d45, /127.0.0.1:33710 => /127.0.0.1:43956] FLUSH
17:12:33.248 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.248 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8379d45, /127.0.0.1:33710 => /127.0.0.1:43956] FLUSH
17:12:33.249 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8379d45, /127.0.0.1:33710 :> /127.0.0.1:43956] INACTIVE
17:12:33.249 [nioEventLoopGroup-436-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8379d45, /127.0.0.1:33710 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.249 [nioEventLoopGroup-440-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-440-1
17:12:33.251 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.254 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba26ef6b, /127.0.0.1:33712 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:33.255 [nioEventLoopGroup-436-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:33.255 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba26ef6b, /127.0.0.1:33712 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.255 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba26ef6b, /127.0.0.1:33712 => /127.0.0.1:43956] FLUSH
17:12:33.255 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.256 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba26ef6b, /127.0.0.1:33712 => /127.0.0.1:43956] FLUSH
17:12:33.256 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba26ef6b, /127.0.0.1:33712 :> /127.0.0.1:43956] INACTIVE
17:12:33.256 [nioEventLoopGroup-436-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xba26ef6b, /127.0.0.1:33712 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.256 [nioEventLoopGroup-441-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-441-1
17:12:33.257 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.259 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33023bcf, /127.0.0.1:33714 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:33.260 [nioEventLoopGroup-436-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:33.260 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33023bcf, /127.0.0.1:33714 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.260 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33023bcf, /127.0.0.1:33714 => /127.0.0.1:43956] FLUSH
17:12:33.261 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.261 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33023bcf, /127.0.0.1:33714 => /127.0.0.1:43956] FLUSH
17:12:33.261 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33023bcf, /127.0.0.1:33714 :> /127.0.0.1:43956] INACTIVE
17:12:33.261 [nioEventLoopGroup-436-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x33023bcf, /127.0.0.1:33714 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.261 [nioEventLoopGroup-442-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-442-1
17:12:33.262 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.263 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7894d3ea, /127.0.0.1:33716 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:33.264 [nioEventLoopGroup-436-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:33.264 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7894d3ea, /127.0.0.1:33716 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.264 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7894d3ea, /127.0.0.1:33716 => /127.0.0.1:43956] FLUSH
17:12:33.265 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.265 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7894d3ea, /127.0.0.1:33716 => /127.0.0.1:43956] FLUSH
17:12:33.265 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7894d3ea, /127.0.0.1:33716 :> /127.0.0.1:43956] INACTIVE
17:12:33.265 [nioEventLoopGroup-436-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7894d3ea, /127.0.0.1:33716 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.265 [nioEventLoopGroup-443-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-443-1
17:12:33.266 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.268 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x447bc649, /127.0.0.1:33718 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.269 [nioEventLoopGroup-436-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:33.269 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x447bc649, /127.0.0.1:33718 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.269 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x447bc649, /127.0.0.1:33718 => /127.0.0.1:43956] FLUSH
17:12:33.270 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x447bc649, /127.0.0.1:33718 => /127.0.0.1:43956] FLUSH
17:12:33.270 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.270 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x447bc649, /127.0.0.1:33718 :> /127.0.0.1:43956] INACTIVE
17:12:33.270 [nioEventLoopGroup-444-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-444-1
17:12:33.270 [nioEventLoopGroup-436-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x447bc649, /127.0.0.1:33718 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.273 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.276 [nioEventLoopGroup-436-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a26f971, /127.0.0.1:33722 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.276 [nioEventLoopGroup-436-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:33.276 [nioEventLoopGroup-436-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a26f971, /127.0.0.1:33722 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.277 [nioEventLoopGroup-436-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a26f971, /127.0.0.1:33722 => /127.0.0.1:43956] FLUSH
17:12:33.277 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.277 [nioEventLoopGroup-436-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a26f971, /127.0.0.1:33722 => /127.0.0.1:43956] FLUSH
17:12:33.277 [nioEventLoopGroup-436-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a26f971, /127.0.0.1:33722 :> /127.0.0.1:43956] INACTIVE
17:12:33.277 [nioEventLoopGroup-445-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-445-1
17:12:33.277 [nioEventLoopGroup-436-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a26f971, /127.0.0.1:33722 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.278 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.281 [nioEventLoopGroup-436-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa361779, /127.0.0.1:33726 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.282 [nioEventLoopGroup-436-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:33.282 [nioEventLoopGroup-436-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa361779, /127.0.0.1:33726 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.282 [nioEventLoopGroup-436-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa361779, /127.0.0.1:33726 => /127.0.0.1:43956] FLUSH
17:12:33.283 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.283 [nioEventLoopGroup-446-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-446-1
17:12:33.283 [nioEventLoopGroup-436-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa361779, /127.0.0.1:33726 => /127.0.0.1:43956] FLUSH
17:12:33.283 [nioEventLoopGroup-436-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa361779, /127.0.0.1:33726 :> /127.0.0.1:43956] INACTIVE
17:12:33.283 [nioEventLoopGroup-436-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfa361779, /127.0.0.1:33726 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.292 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.294 [nioEventLoopGroup-436-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00054f8f, /127.0.0.1:33732 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.295 [nioEventLoopGroup-436-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:33.295 [nioEventLoopGroup-436-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00054f8f, /127.0.0.1:33732 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.295 [nioEventLoopGroup-436-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00054f8f, /127.0.0.1:33732 => /127.0.0.1:43956] FLUSH
17:12:33.295 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.296 [nioEventLoopGroup-447-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-447-1
17:12:33.296 [nioEventLoopGroup-436-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00054f8f, /127.0.0.1:33732 => /127.0.0.1:43956] FLUSH
17:12:33.296 [nioEventLoopGroup-436-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00054f8f, /127.0.0.1:33732 :> /127.0.0.1:43956] INACTIVE
17:12:33.296 [nioEventLoopGroup-436-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x00054f8f, /127.0.0.1:33732 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.298 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.302 [nioEventLoopGroup-436-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23939ab4, /127.0.0.1:33736 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:33.305 [nioEventLoopGroup-436-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:33.305 [nioEventLoopGroup-436-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23939ab4, /127.0.0.1:33736 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.305 [nioEventLoopGroup-436-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23939ab4, /127.0.0.1:33736 => /127.0.0.1:43956] FLUSH
17:12:33.306 [nioEventLoopGroup-436-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23939ab4, /127.0.0.1:33736 => /127.0.0.1:43956] FLUSH
17:12:33.306 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.306 [nioEventLoopGroup-436-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23939ab4, /127.0.0.1:33736 :> /127.0.0.1:43956] INACTIVE
17:12:33.306 [nioEventLoopGroup-448-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-448-1
17:12:33.313 [nioEventLoopGroup-436-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x23939ab4, /127.0.0.1:33736 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.314 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.317 [nioEventLoopGroup-436-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa2a0b37f, /127.0.0.1:33742 => /127.0.0.1:43956] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:33.318 [nioEventLoopGroup-436-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:33.318 [nioEventLoopGroup-436-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa2a0b37f, /127.0.0.1:33742 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.318 [nioEventLoopGroup-436-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa2a0b37f, /127.0.0.1:33742 => /127.0.0.1:43956] FLUSH
17:12:33.318 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.318 [nioEventLoopGroup-436-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa2a0b37f, /127.0.0.1:33742 => /127.0.0.1:43956] FLUSH
17:12:33.318 [nioEventLoopGroup-436-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa2a0b37f, /127.0.0.1:33742 :> /127.0.0.1:43956] INACTIVE
17:12:33.318 [nioEventLoopGroup-436-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa2a0b37f, /127.0.0.1:33742 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.318 [nioEventLoopGroup-449-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-449-1
17:12:33.321 [nioEventLoopGroup-436-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b00dca4, /127.0.0.1:33744 => /127.0.0.1:43956] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:43956
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:33.321 [nioEventLoopGroup-436-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.321 [nioEventLoopGroup-436-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.322 [nioEventLoopGroup-436-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:33.322 [nioEventLoopGroup-436-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}


17:12:33.322 [nioEventLoopGroup-436-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:33.323 [nioEventLoopGroup-436-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b00dca4, /127.0.0.1:33744 => /127.0.0.1:43956] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:33.323 [nioEventLoopGroup-436-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b00dca4, /127.0.0.1:33744 => /127.0.0.1:43956] FLUSH
17:12:33.324 [nioEventLoopGroup-436-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b00dca4, /127.0.0.1:33744 => /127.0.0.1:43956] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:43956
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:33.325 [nioEventLoopGroup-436-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.325 [nioEventLoopGroup-436-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.325 [nioEventLoopGroup-436-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:33.325 [nioEventLoopGroup-436-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}


17:12:33.326 [nioEventLoopGroup-436-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43956" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:33.326 [nioEventLoopGroup-436-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b00dca4, /127.0.0.1:33744 => /127.0.0.1:43956] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:33.326 [nioEventLoopGroup-436-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b00dca4, /127.0.0.1:33744 => /127.0.0.1:43956] FLUSH
17:12:33.327 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:33.330 [nioEventLoopGroup-436-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3376f88c, /127.0.0.1:33748 => /127.0.0.1:43956] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:43956
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:33.331 [nioEventLoopGroup-436-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3376f88c, /127.0.0.1:33748 => /127.0.0.1:43956] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.331 [nioEventLoopGroup-436-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3376f88c, /127.0.0.1:33748 => /127.0.0.1:43956] FLUSH
17:12:33.332 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.332 [nioEventLoopGroup-450-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-450-1
17:12:33.332 [nioEventLoopGroup-436-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3376f88c, /127.0.0.1:33748 => /127.0.0.1:43956] CLOSE()
17:12:33.335 [nioEventLoopGroup-436-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-2
17:12:33.336 [nioEventLoopGroup-436-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-10
17:12:33.336 [nioEventLoopGroup-436-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-1
17:12:33.336 [nioEventLoopGroup-436-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-12
17:12:33.336 [nioEventLoopGroup-436-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-3
17:12:33.336 [nioEventLoopGroup-436-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-4
17:12:33.336 [nioEventLoopGroup-436-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-5
17:12:33.336 [nioEventLoopGroup-436-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-6
17:12:33.336 [nioEventLoopGroup-436-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-7
17:12:33.336 [nioEventLoopGroup-436-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-8
17:12:33.336 [nioEventLoopGroup-436-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-9
17:12:33.336 [nioEventLoopGroup-436-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-11
17:12:33.336 [nioEventLoopGroup-436-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-13
17:12:33.336 [nioEventLoopGroup-436-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b00dca4, /127.0.0.1:33744 :> /127.0.0.1:43956] INACTIVE
17:12:33.336 [nioEventLoopGroup-436-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6b00dca4, /127.0.0.1:33744 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.370 [nioEventLoopGroup-420-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee2e7b5e, /127.0.0.1:53428 :> /127.0.0.1:35172] FLUSH
17:12:33.370 [nioEventLoopGroup-420-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee2e7b5e, /127.0.0.1:53428 :> /127.0.0.1:35172] INACTIVE
17:12:33.370 [nioEventLoopGroup-420-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xee2e7b5e, /127.0.0.1:53428 :> /127.0.0.1:35172] UNREGISTERED
17:12:33.370 [nioEventLoopGroup-420-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-16
17:12:33.687 [MockServer thread for port: 43129] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 43129
17:12:33.687 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.691 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b2b0758, /127.0.0.1:60238 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:33.692 [nioEventLoopGroup-452-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:33.693 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b2b0758, /127.0.0.1:60238 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.693 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b2b0758, /127.0.0.1:60238 => /127.0.0.1:43129] FLUSH
17:12:33.693 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.693 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b2b0758, /127.0.0.1:60238 => /127.0.0.1:43129] FLUSH
17:12:33.694 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b2b0758, /127.0.0.1:60238 :> /127.0.0.1:43129] INACTIVE
17:12:33.694 [nioEventLoopGroup-453-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-453-1
17:12:33.694 [nioEventLoopGroup-452-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7b2b0758, /127.0.0.1:60238 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.696 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.699 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad4cb44e, /127.0.0.1:60240 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:33.701 [nioEventLoopGroup-452-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:33.701 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad4cb44e, /127.0.0.1:60240 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.702 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad4cb44e, /127.0.0.1:60240 => /127.0.0.1:43129] FLUSH
17:12:33.702 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.702 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad4cb44e, /127.0.0.1:60240 => /127.0.0.1:43129] FLUSH
17:12:33.702 [nioEventLoopGroup-454-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-454-1
17:12:33.702 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad4cb44e, /127.0.0.1:60240 :> /127.0.0.1:43129] INACTIVE
17:12:33.702 [nioEventLoopGroup-452-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xad4cb44e, /127.0.0.1:60240 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.704 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.707 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0cf8754, /127.0.0.1:60242 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:33.708 [nioEventLoopGroup-452-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:33.708 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0cf8754, /127.0.0.1:60242 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.709 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0cf8754, /127.0.0.1:60242 => /127.0.0.1:43129] FLUSH
17:12:33.709 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.709 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0cf8754, /127.0.0.1:60242 => /127.0.0.1:43129] FLUSH
17:12:33.709 [nioEventLoopGroup-455-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-455-1
17:12:33.709 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0cf8754, /127.0.0.1:60242 :> /127.0.0.1:43129] INACTIVE
17:12:33.709 [nioEventLoopGroup-452-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0cf8754, /127.0.0.1:60242 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.711 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.713 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37462c0f, /127.0.0.1:60244 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.714 [nioEventLoopGroup-452-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:33.715 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37462c0f, /127.0.0.1:60244 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.715 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37462c0f, /127.0.0.1:60244 => /127.0.0.1:43129] FLUSH
17:12:33.715 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.715 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37462c0f, /127.0.0.1:60244 => /127.0.0.1:43129] FLUSH
17:12:33.716 [nioEventLoopGroup-456-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-456-1
17:12:33.716 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37462c0f, /127.0.0.1:60244 :> /127.0.0.1:43129] INACTIVE
17:12:33.716 [nioEventLoopGroup-452-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37462c0f, /127.0.0.1:60244 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.717 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.720 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1329bcc4, /127.0.0.1:60246 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:33.721 [nioEventLoopGroup-452-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:33.721 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1329bcc4, /127.0.0.1:60246 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.722 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1329bcc4, /127.0.0.1:60246 => /127.0.0.1:43129] FLUSH
17:12:33.722 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1329bcc4, /127.0.0.1:60246 => /127.0.0.1:43129] FLUSH
17:12:33.722 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.722 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1329bcc4, /127.0.0.1:60246 :> /127.0.0.1:43129] INACTIVE
17:12:33.722 [nioEventLoopGroup-452-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1329bcc4, /127.0.0.1:60246 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.722 [nioEventLoopGroup-457-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-457-1
17:12:33.724 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.726 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f1c5103, /127.0.0.1:60248 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:33.727 [nioEventLoopGroup-452-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:33.728 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f1c5103, /127.0.0.1:60248 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.728 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f1c5103, /127.0.0.1:60248 => /127.0.0.1:43129] FLUSH
17:12:33.728 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.728 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f1c5103, /127.0.0.1:60248 => /127.0.0.1:43129] FLUSH
17:12:33.728 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f1c5103, /127.0.0.1:60248 :> /127.0.0.1:43129] INACTIVE
17:12:33.728 [nioEventLoopGroup-452-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5f1c5103, /127.0.0.1:60248 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.728 [nioEventLoopGroup-458-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-458-1
17:12:33.729 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.731 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4eb46f91, /127.0.0.1:60250 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:33.732 [nioEventLoopGroup-452-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:33.732 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4eb46f91, /127.0.0.1:60250 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.733 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4eb46f91, /127.0.0.1:60250 => /127.0.0.1:43129] FLUSH
17:12:33.733 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.733 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4eb46f91, /127.0.0.1:60250 => /127.0.0.1:43129] FLUSH
17:12:33.733 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4eb46f91, /127.0.0.1:60250 :> /127.0.0.1:43129] INACTIVE
17:12:33.733 [nioEventLoopGroup-452-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4eb46f91, /127.0.0.1:60250 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.733 [nioEventLoopGroup-459-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-459-1
17:12:33.736 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.739 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x292dc30c, /127.0.0.1:60252 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.741 [nioEventLoopGroup-452-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:33.741 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x292dc30c, /127.0.0.1:60252 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.741 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x292dc30c, /127.0.0.1:60252 => /127.0.0.1:43129] FLUSH
17:12:33.742 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.742 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x292dc30c, /127.0.0.1:60252 => /127.0.0.1:43129] FLUSH
17:12:33.742 [nioEventLoopGroup-460-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-460-1
17:12:33.746 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.746 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x292dc30c, /127.0.0.1:60252 :> /127.0.0.1:43129] INACTIVE
17:12:33.748 [nioEventLoopGroup-452-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x292dc30c, /127.0.0.1:60252 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.754 [nioEventLoopGroup-452-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe29d900d, /127.0.0.1:60258 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.755 [nioEventLoopGroup-452-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:33.756 [nioEventLoopGroup-452-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe29d900d, /127.0.0.1:60258 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.756 [nioEventLoopGroup-452-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe29d900d, /127.0.0.1:60258 => /127.0.0.1:43129] FLUSH
17:12:33.756 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.756 [nioEventLoopGroup-461-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-461-1
17:12:33.757 [nioEventLoopGroup-452-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe29d900d, /127.0.0.1:60258 => /127.0.0.1:43129] FLUSH
17:12:33.757 [nioEventLoopGroup-452-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe29d900d, /127.0.0.1:60258 :> /127.0.0.1:43129] INACTIVE
17:12:33.757 [nioEventLoopGroup-452-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe29d900d, /127.0.0.1:60258 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.758 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.762 [nioEventLoopGroup-452-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84a0bce6, /127.0.0.1:60260 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.765 [nioEventLoopGroup-452-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:33.766 [nioEventLoopGroup-452-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84a0bce6, /127.0.0.1:60260 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.766 [nioEventLoopGroup-452-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84a0bce6, /127.0.0.1:60260 => /127.0.0.1:43129] FLUSH
17:12:33.767 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.767 [nioEventLoopGroup-462-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-462-1
17:12:33.767 [nioEventLoopGroup-452-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84a0bce6, /127.0.0.1:60260 => /127.0.0.1:43129] FLUSH
17:12:33.767 [nioEventLoopGroup-452-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84a0bce6, /127.0.0.1:60260 :> /127.0.0.1:43129] INACTIVE
17:12:33.767 [nioEventLoopGroup-452-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x84a0bce6, /127.0.0.1:60260 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.768 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.771 [nioEventLoopGroup-452-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28760e25, /127.0.0.1:60264 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:33.771 [nioEventLoopGroup-452-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:33.772 [nioEventLoopGroup-452-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28760e25, /127.0.0.1:60264 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.772 [nioEventLoopGroup-452-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28760e25, /127.0.0.1:60264 => /127.0.0.1:43129] FLUSH
17:12:33.772 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.772 [nioEventLoopGroup-452-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28760e25, /127.0.0.1:60264 => /127.0.0.1:43129] FLUSH
17:12:33.772 [nioEventLoopGroup-452-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28760e25, /127.0.0.1:60264 :> /127.0.0.1:43129] INACTIVE
17:12:33.773 [nioEventLoopGroup-452-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x28760e25, /127.0.0.1:60264 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.773 [nioEventLoopGroup-463-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-463-1
17:12:33.774 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.777 [nioEventLoopGroup-452-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x646a607c, /127.0.0.1:60268 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:33.778 [nioEventLoopGroup-452-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:33.778 [nioEventLoopGroup-452-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x646a607c, /127.0.0.1:60268 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.779 [nioEventLoopGroup-452-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x646a607c, /127.0.0.1:60268 => /127.0.0.1:43129] FLUSH
17:12:33.779 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.779 [nioEventLoopGroup-452-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x646a607c, /127.0.0.1:60268 => /127.0.0.1:43129] FLUSH
17:12:33.779 [nioEventLoopGroup-452-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x646a607c, /127.0.0.1:60268 :> /127.0.0.1:43129] INACTIVE
17:12:33.779 [nioEventLoopGroup-452-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x646a607c, /127.0.0.1:60268 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.780 [nioEventLoopGroup-464-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-464-1
17:12:33.781 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:33.783 [nioEventLoopGroup-452-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0ab6fd2, /127.0.0.1:60272 => /127.0.0.1:43129] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:33.785 [nioEventLoopGroup-452-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:33.785 [nioEventLoopGroup-452-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0ab6fd2, /127.0.0.1:60272 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.785 [nioEventLoopGroup-452-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0ab6fd2, /127.0.0.1:60272 => /127.0.0.1:43129] FLUSH
17:12:33.785 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.785 [nioEventLoopGroup-452-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0ab6fd2, /127.0.0.1:60272 => /127.0.0.1:43129] FLUSH
17:12:33.786 [nioEventLoopGroup-452-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0ab6fd2, /127.0.0.1:60272 :> /127.0.0.1:43129] INACTIVE
17:12:33.786 [nioEventLoopGroup-465-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-465-1
17:12:33.786 [nioEventLoopGroup-452-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa0ab6fd2, /127.0.0.1:60272 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.793 [nioEventLoopGroup-452-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x488df478, /127.0.0.1:60278 => /127.0.0.1:43129] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /xml HTTP/1.1
Host: localhost:43129
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:33.794 [nioEventLoopGroup-452-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.794 [nioEventLoopGroup-452-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.794 [nioEventLoopGroup-452-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:33.794 [nioEventLoopGroup-452-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.794 [nioEventLoopGroup-452-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}


17:12:33.795 [nioEventLoopGroup-452-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/xml" ]
	  } ],
	  "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:33.795 [nioEventLoopGroup-452-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x488df478, /127.0.0.1:60278 => /127.0.0.1:43129] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 95, cap: 95/95))
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 95
Connection: keep-alive, 95B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 |<?xml version="1|
|00000010| 2e 30 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c |.0"?><root><chil|
|00000020| 64 3e 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f |d><elt name='foo|
|00000030| 27 20 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e |' /><text>Nothin|
|00000040| 67 20 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e |g special</text>|
|00000050| 3c 2f 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e    |</child></root> |
+--------+-------------------------------------------------+----------------+
17:12:33.795 [nioEventLoopGroup-452-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x488df478, /127.0.0.1:60278 => /127.0.0.1:43129] FLUSH
17:12:33.827 [nioEventLoopGroup-452-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd5fdad5, /127.0.0.1:60290 => /127.0.0.1:43129] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /xml HTTP/1.1
Host: localhost:43129
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:33.828 [nioEventLoopGroup-452-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.828 [nioEventLoopGroup-452-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.828 [nioEventLoopGroup-452-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:33.828 [nioEventLoopGroup-452-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:33.828 [nioEventLoopGroup-452-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}


17:12:33.829 [nioEventLoopGroup-452-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/xml" ]
	  } ],
	  "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:43129" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:33.829 [nioEventLoopGroup-452-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd5fdad5, /127.0.0.1:60290 => /127.0.0.1:43129] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 95, cap: 95/95))
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 95
Connection: keep-alive, 95B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 |<?xml version="1|
|00000010| 2e 30 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c |.0"?><root><chil|
|00000020| 64 3e 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f |d><elt name='foo|
|00000030| 27 20 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e |' /><text>Nothin|
|00000040| 67 20 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e |g special</text>|
|00000050| 3c 2f 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e    |</child></root> |
+--------+-------------------------------------------------+----------------+
17:12:33.829 [nioEventLoopGroup-452-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd5fdad5, /127.0.0.1:60290 => /127.0.0.1:43129] FLUSH
17:12:33.832 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:33.834 [nioEventLoopGroup-452-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3499e718, /127.0.0.1:60292 => /127.0.0.1:43129] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:43129
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:33.834 [nioEventLoopGroup-452-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3499e718, /127.0.0.1:60292 => /127.0.0.1:43129] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:33.834 [nioEventLoopGroup-452-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3499e718, /127.0.0.1:60292 => /127.0.0.1:43129] FLUSH
17:12:33.835 [nioEventLoopGroup-452-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3499e718, /127.0.0.1:60292 => /127.0.0.1:43129] CLOSE()
17:12:33.835 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:33.835 [nioEventLoopGroup-466-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-466-1
17:12:33.836 [nioEventLoopGroup-452-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-3
17:12:33.836 [nioEventLoopGroup-452-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-1
17:12:33.836 [nioEventLoopGroup-452-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-4
17:12:33.836 [nioEventLoopGroup-452-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-8
17:12:33.836 [nioEventLoopGroup-452-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-2
17:12:33.836 [nioEventLoopGroup-452-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd5fdad5, /127.0.0.1:60290 :> /127.0.0.1:43129] INACTIVE
17:12:33.836 [nioEventLoopGroup-452-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x488df478, /127.0.0.1:60278 :> /127.0.0.1:43129] INACTIVE
17:12:33.836 [nioEventLoopGroup-452-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-6
17:12:33.836 [nioEventLoopGroup-452-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-7
17:12:33.836 [nioEventLoopGroup-452-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-5
17:12:33.836 [nioEventLoopGroup-436-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3376f88c, /127.0.0.1:33748 :> /127.0.0.1:43956] FLUSH
17:12:33.836 [nioEventLoopGroup-452-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-9
17:12:33.836 [nioEventLoopGroup-452-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-10
17:12:33.836 [nioEventLoopGroup-452-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-12
17:12:33.836 [nioEventLoopGroup-452-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-11
17:12:33.836 [nioEventLoopGroup-452-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdd5fdad5, /127.0.0.1:60290 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.836 [nioEventLoopGroup-452-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-13
17:12:33.836 [nioEventLoopGroup-452-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x488df478, /127.0.0.1:60278 :> /127.0.0.1:43129] UNREGISTERED
17:12:33.837 [nioEventLoopGroup-436-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3376f88c, /127.0.0.1:33748 :> /127.0.0.1:43956] INACTIVE
17:12:33.838 [nioEventLoopGroup-436-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3376f88c, /127.0.0.1:33748 :> /127.0.0.1:43956] UNREGISTERED
17:12:33.838 [nioEventLoopGroup-436-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-15
17:12:33.872 [nioEventLoopGroup-420-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-14
17:12:33.872 [nioEventLoopGroup-420-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-420-15
17:12:34.191 [MockServer thread for port: 38754] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 38754
17:12:34.192 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.195 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91e94850, /127.0.0.1:51810 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:34.196 [nioEventLoopGroup-468-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:34.196 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91e94850, /127.0.0.1:51810 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.196 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91e94850, /127.0.0.1:51810 => /127.0.0.1:38754] FLUSH
17:12:34.196 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.196 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91e94850, /127.0.0.1:51810 => /127.0.0.1:38754] FLUSH
17:12:34.196 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91e94850, /127.0.0.1:51810 :> /127.0.0.1:38754] INACTIVE
17:12:34.196 [nioEventLoopGroup-468-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x91e94850, /127.0.0.1:51810 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.197 [nioEventLoopGroup-469-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-469-1
17:12:34.199 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.203 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9180b14b, /127.0.0.1:51812 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:34.205 [nioEventLoopGroup-468-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:34.205 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9180b14b, /127.0.0.1:51812 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.205 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9180b14b, /127.0.0.1:51812 => /127.0.0.1:38754] FLUSH
17:12:34.206 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.206 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9180b14b, /127.0.0.1:51812 => /127.0.0.1:38754] FLUSH
17:12:34.206 [nioEventLoopGroup-470-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-470-1
17:12:34.206 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9180b14b, /127.0.0.1:51812 :> /127.0.0.1:38754] INACTIVE
17:12:34.209 [nioEventLoopGroup-468-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9180b14b, /127.0.0.1:51812 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.210 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.213 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfdb86e25, /127.0.0.1:51816 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:34.215 [nioEventLoopGroup-468-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:34.215 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfdb86e25, /127.0.0.1:51816 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.215 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfdb86e25, /127.0.0.1:51816 => /127.0.0.1:38754] FLUSH
17:12:34.215 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.215 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfdb86e25, /127.0.0.1:51816 => /127.0.0.1:38754] FLUSH
17:12:34.216 [nioEventLoopGroup-471-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-471-1
17:12:34.216 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfdb86e25, /127.0.0.1:51816 :> /127.0.0.1:38754] INACTIVE
17:12:34.216 [nioEventLoopGroup-468-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfdb86e25, /127.0.0.1:51816 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.217 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.220 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb368e564, /127.0.0.1:51820 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.221 [nioEventLoopGroup-468-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:34.221 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb368e564, /127.0.0.1:51820 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.221 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb368e564, /127.0.0.1:51820 => /127.0.0.1:38754] FLUSH
17:12:34.222 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.222 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb368e564, /127.0.0.1:51820 => /127.0.0.1:38754] FLUSH
17:12:34.222 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb368e564, /127.0.0.1:51820 :> /127.0.0.1:38754] INACTIVE
17:12:34.222 [nioEventLoopGroup-472-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-472-1
17:12:34.222 [nioEventLoopGroup-468-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb368e564, /127.0.0.1:51820 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.223 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.225 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44d99492, /127.0.0.1:51824 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:34.226 [nioEventLoopGroup-468-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:34.226 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44d99492, /127.0.0.1:51824 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.226 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44d99492, /127.0.0.1:51824 => /127.0.0.1:38754] FLUSH
17:12:34.227 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.227 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44d99492, /127.0.0.1:51824 => /127.0.0.1:38754] FLUSH
17:12:34.227 [nioEventLoopGroup-473-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-473-1
17:12:34.227 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44d99492, /127.0.0.1:51824 :> /127.0.0.1:38754] INACTIVE
17:12:34.227 [nioEventLoopGroup-468-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44d99492, /127.0.0.1:51824 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.228 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.231 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c045b, /127.0.0.1:51828 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:34.232 [nioEventLoopGroup-468-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:34.232 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c045b, /127.0.0.1:51828 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.232 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c045b, /127.0.0.1:51828 => /127.0.0.1:38754] FLUSH
17:12:34.233 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.233 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c045b, /127.0.0.1:51828 => /127.0.0.1:38754] FLUSH
17:12:34.233 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c045b, /127.0.0.1:51828 :> /127.0.0.1:38754] INACTIVE
17:12:34.233 [nioEventLoopGroup-474-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-474-1
17:12:34.233 [nioEventLoopGroup-468-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0d5c045b, /127.0.0.1:51828 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.234 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.236 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x204f3567, /127.0.0.1:51832 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:34.237 [nioEventLoopGroup-468-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:34.238 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x204f3567, /127.0.0.1:51832 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.238 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x204f3567, /127.0.0.1:51832 => /127.0.0.1:38754] FLUSH
17:12:34.238 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.238 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x204f3567, /127.0.0.1:51832 => /127.0.0.1:38754] FLUSH
17:12:34.238 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x204f3567, /127.0.0.1:51832 :> /127.0.0.1:38754] INACTIVE
17:12:34.238 [nioEventLoopGroup-468-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x204f3567, /127.0.0.1:51832 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.238 [nioEventLoopGroup-475-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-475-1
17:12:34.239 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.242 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd293a169, /127.0.0.1:51836 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.243 [nioEventLoopGroup-468-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:34.243 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd293a169, /127.0.0.1:51836 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.243 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd293a169, /127.0.0.1:51836 => /127.0.0.1:38754] FLUSH
17:12:34.243 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.243 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd293a169, /127.0.0.1:51836 => /127.0.0.1:38754] FLUSH
17:12:34.244 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd293a169, /127.0.0.1:51836 :> /127.0.0.1:38754] INACTIVE
17:12:34.244 [nioEventLoopGroup-468-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd293a169, /127.0.0.1:51836 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.244 [nioEventLoopGroup-476-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-476-1
17:12:34.244 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.247 [nioEventLoopGroup-468-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cd66b3b, /127.0.0.1:51838 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.247 [nioEventLoopGroup-468-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:34.248 [nioEventLoopGroup-468-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cd66b3b, /127.0.0.1:51838 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.248 [nioEventLoopGroup-468-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cd66b3b, /127.0.0.1:51838 => /127.0.0.1:38754] FLUSH
17:12:34.248 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.249 [nioEventLoopGroup-477-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-477-1
17:12:34.249 [nioEventLoopGroup-468-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cd66b3b, /127.0.0.1:51838 => /127.0.0.1:38754] FLUSH
17:12:34.249 [nioEventLoopGroup-468-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cd66b3b, /127.0.0.1:51838 :> /127.0.0.1:38754] INACTIVE
17:12:34.249 [nioEventLoopGroup-468-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cd66b3b, /127.0.0.1:51838 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.252 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.254 [nioEventLoopGroup-468-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bd50a00, /127.0.0.1:51842 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.255 [nioEventLoopGroup-468-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:34.255 [nioEventLoopGroup-468-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bd50a00, /127.0.0.1:51842 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.255 [nioEventLoopGroup-468-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bd50a00, /127.0.0.1:51842 => /127.0.0.1:38754] FLUSH
17:12:34.256 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.256 [nioEventLoopGroup-478-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-478-1
17:12:34.256 [nioEventLoopGroup-468-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bd50a00, /127.0.0.1:51842 => /127.0.0.1:38754] FLUSH
17:12:34.256 [nioEventLoopGroup-468-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bd50a00, /127.0.0.1:51842 :> /127.0.0.1:38754] INACTIVE
17:12:34.257 [nioEventLoopGroup-468-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1bd50a00, /127.0.0.1:51842 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.261 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.265 [nioEventLoopGroup-468-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939eea0, /127.0.0.1:51846 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.266 [nioEventLoopGroup-468-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:34.266 [nioEventLoopGroup-468-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939eea0, /127.0.0.1:51846 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.266 [nioEventLoopGroup-468-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939eea0, /127.0.0.1:51846 => /127.0.0.1:38754] FLUSH
17:12:34.267 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.267 [nioEventLoopGroup-479-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-479-1
17:12:34.267 [nioEventLoopGroup-468-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939eea0, /127.0.0.1:51846 => /127.0.0.1:38754] FLUSH
17:12:34.268 [nioEventLoopGroup-468-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939eea0, /127.0.0.1:51846 :> /127.0.0.1:38754] INACTIVE
17:12:34.268 [nioEventLoopGroup-468-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf939eea0, /127.0.0.1:51846 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.269 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.272 [nioEventLoopGroup-468-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78df281f, /127.0.0.1:51850 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:34.273 [nioEventLoopGroup-468-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:34.273 [nioEventLoopGroup-468-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78df281f, /127.0.0.1:51850 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.273 [nioEventLoopGroup-468-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78df281f, /127.0.0.1:51850 => /127.0.0.1:38754] FLUSH
17:12:34.273 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.274 [nioEventLoopGroup-468-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78df281f, /127.0.0.1:51850 => /127.0.0.1:38754] FLUSH
17:12:34.274 [nioEventLoopGroup-480-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-480-1
17:12:34.274 [nioEventLoopGroup-468-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78df281f, /127.0.0.1:51850 :> /127.0.0.1:38754] INACTIVE
17:12:34.274 [nioEventLoopGroup-468-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x78df281f, /127.0.0.1:51850 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.275 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.278 [nioEventLoopGroup-468-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc6bb3298, /127.0.0.1:51852 => /127.0.0.1:38754] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:34.279 [nioEventLoopGroup-468-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:34.280 [nioEventLoopGroup-468-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc6bb3298, /127.0.0.1:51852 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.280 [nioEventLoopGroup-468-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc6bb3298, /127.0.0.1:51852 => /127.0.0.1:38754] FLUSH
17:12:34.280 [nioEventLoopGroup-468-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc6bb3298, /127.0.0.1:51852 => /127.0.0.1:38754] FLUSH
17:12:34.280 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.280 [nioEventLoopGroup-468-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc6bb3298, /127.0.0.1:51852 :> /127.0.0.1:38754] INACTIVE
17:12:34.280 [nioEventLoopGroup-468-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc6bb3298, /127.0.0.1:51852 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.280 [nioEventLoopGroup-481-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-481-1
17:12:34.285 [nioEventLoopGroup-468-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5223b5e7, /127.0.0.1:51856 => /127.0.0.1:38754] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /xml HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:38754
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:34.285 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.286 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.286 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:34.286 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.287 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}


17:12:34.287 [nioEventLoopGroup-468-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/xml" ]
	  } ],
	  "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:34.288 [nioEventLoopGroup-468-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5223b5e7, /127.0.0.1:51856 => /127.0.0.1:38754] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 95, cap: 95/95))
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 95
Connection: keep-alive, 95B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 |<?xml version="1|
|00000010| 2e 30 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c |.0"?><root><chil|
|00000020| 64 3e 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f |d><elt name='foo|
|00000030| 27 20 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e |' /><text>Nothin|
|00000040| 67 20 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e |g special</text>|
|00000050| 3c 2f 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e    |</child></root> |
+--------+-------------------------------------------------+----------------+
17:12:34.288 [nioEventLoopGroup-468-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5223b5e7, /127.0.0.1:51856 => /127.0.0.1:38754] FLUSH
17:12:34.293 [nioEventLoopGroup-468-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5223b5e7, /127.0.0.1:51856 => /127.0.0.1:38754] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /xml HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:38754
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:34.294 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.295 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.296 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:34.297 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.298 [nioEventLoopGroup-468-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}


17:12:34.299 [nioEventLoopGroup-468-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/xml" ]
	  } ],
	  "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/xml",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38754" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:34.299 [nioEventLoopGroup-468-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5223b5e7, /127.0.0.1:51856 => /127.0.0.1:38754] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 95, cap: 95/95))
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 95
Connection: keep-alive, 95B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 |<?xml version="1|
|00000010| 2e 30 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c |.0"?><root><chil|
|00000020| 64 3e 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f |d><elt name='foo|
|00000030| 27 20 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e |' /><text>Nothin|
|00000040| 67 20 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e |g special</text>|
|00000050| 3c 2f 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e    |</child></root> |
+--------+-------------------------------------------------+----------------+
17:12:34.300 [nioEventLoopGroup-468-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5223b5e7, /127.0.0.1:51856 => /127.0.0.1:38754] FLUSH
17:12:34.302 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:34.308 [nioEventLoopGroup-468-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x618c5448, /127.0.0.1:51860 => /127.0.0.1:38754] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:38754
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:34.309 [nioEventLoopGroup-468-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x618c5448, /127.0.0.1:51860 => /127.0.0.1:38754] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.309 [nioEventLoopGroup-468-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x618c5448, /127.0.0.1:51860 => /127.0.0.1:38754] FLUSH
17:12:34.309 [nioEventLoopGroup-468-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x618c5448, /127.0.0.1:51860 => /127.0.0.1:38754] CLOSE()
17:12:34.309 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.310 [nioEventLoopGroup-482-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-482-1
17:12:34.334 [nioEventLoopGroup-468-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-10
17:12:34.334 [nioEventLoopGroup-468-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-2
17:12:34.334 [nioEventLoopGroup-468-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-1
17:12:34.334 [nioEventLoopGroup-468-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-5
17:12:34.334 [nioEventLoopGroup-468-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-3
17:12:34.334 [nioEventLoopGroup-468-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-9
17:12:34.334 [nioEventLoopGroup-468-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-4
17:12:34.334 [nioEventLoopGroup-468-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-6
17:12:34.334 [nioEventLoopGroup-468-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-7
17:12:34.334 [nioEventLoopGroup-468-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-8
17:12:34.334 [nioEventLoopGroup-468-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-11
17:12:34.334 [nioEventLoopGroup-468-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-12
17:12:34.334 [nioEventLoopGroup-468-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-13
17:12:34.334 [nioEventLoopGroup-468-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5223b5e7, /127.0.0.1:51856 :> /127.0.0.1:38754] INACTIVE
17:12:34.336 [nioEventLoopGroup-452-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3499e718, /127.0.0.1:60292 :> /127.0.0.1:43129] FLUSH
17:12:34.337 [nioEventLoopGroup-436-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-436-14
17:12:34.338 [nioEventLoopGroup-468-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5223b5e7, /127.0.0.1:51856 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.338 [nioEventLoopGroup-452-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3499e718, /127.0.0.1:60292 :> /127.0.0.1:43129] INACTIVE
17:12:34.338 [nioEventLoopGroup-452-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3499e718, /127.0.0.1:60292 :> /127.0.0.1:43129] UNREGISTERED
17:12:34.338 [nioEventLoopGroup-452-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-16
17:12:34.688 [MockServer thread for port: 38620] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 38620
17:12:34.689 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.694 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x596b60c0, /127.0.0.1:44110 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:34.695 [nioEventLoopGroup-484-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:34.696 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x596b60c0, /127.0.0.1:44110 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.696 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x596b60c0, /127.0.0.1:44110 => /127.0.0.1:38620] FLUSH
17:12:34.696 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.697 [nioEventLoopGroup-485-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-485-1
17:12:34.697 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x596b60c0, /127.0.0.1:44110 => /127.0.0.1:38620] FLUSH
17:12:34.697 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x596b60c0, /127.0.0.1:44110 :> /127.0.0.1:38620] INACTIVE
17:12:34.697 [nioEventLoopGroup-484-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x596b60c0, /127.0.0.1:44110 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.698 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.703 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd6e7b236, /127.0.0.1:44114 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:34.705 [nioEventLoopGroup-484-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:34.706 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd6e7b236, /127.0.0.1:44114 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.706 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd6e7b236, /127.0.0.1:44114 => /127.0.0.1:38620] FLUSH
17:12:34.706 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.706 [nioEventLoopGroup-486-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-486-1
17:12:34.708 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.709 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd6e7b236, /127.0.0.1:44114 => /127.0.0.1:38620] FLUSH
17:12:34.709 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd6e7b236, /127.0.0.1:44114 :> /127.0.0.1:38620] INACTIVE
17:12:34.709 [nioEventLoopGroup-484-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd6e7b236, /127.0.0.1:44114 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.711 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde8f207f, /127.0.0.1:44118 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:34.713 [nioEventLoopGroup-484-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:34.713 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde8f207f, /127.0.0.1:44118 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.713 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde8f207f, /127.0.0.1:44118 => /127.0.0.1:38620] FLUSH
17:12:34.714 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.714 [nioEventLoopGroup-487-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-487-1
17:12:34.714 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde8f207f, /127.0.0.1:44118 => /127.0.0.1:38620] FLUSH
17:12:34.714 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde8f207f, /127.0.0.1:44118 :> /127.0.0.1:38620] INACTIVE
17:12:34.714 [nioEventLoopGroup-484-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xde8f207f, /127.0.0.1:44118 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.715 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.718 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0b9cf3, /127.0.0.1:44122 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.719 [nioEventLoopGroup-484-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:34.720 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0b9cf3, /127.0.0.1:44122 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.720 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0b9cf3, /127.0.0.1:44122 => /127.0.0.1:38620] FLUSH
17:12:34.720 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0b9cf3, /127.0.0.1:44122 => /127.0.0.1:38620] FLUSH
17:12:34.720 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.720 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0b9cf3, /127.0.0.1:44122 :> /127.0.0.1:38620] INACTIVE
17:12:34.720 [nioEventLoopGroup-488-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-488-1
17:12:34.722 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.722 [nioEventLoopGroup-484-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd0b9cf3, /127.0.0.1:44122 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.725 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa62d0eb0, /127.0.0.1:44126 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:34.726 [nioEventLoopGroup-484-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:34.727 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa62d0eb0, /127.0.0.1:44126 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.727 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa62d0eb0, /127.0.0.1:44126 => /127.0.0.1:38620] FLUSH
17:12:34.727 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.728 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa62d0eb0, /127.0.0.1:44126 => /127.0.0.1:38620] FLUSH
17:12:34.728 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa62d0eb0, /127.0.0.1:44126 :> /127.0.0.1:38620] INACTIVE
17:12:34.728 [nioEventLoopGroup-484-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa62d0eb0, /127.0.0.1:44126 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.728 [nioEventLoopGroup-489-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-489-1
17:12:34.745 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.749 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf2c5e18, /127.0.0.1:44132 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:34.750 [nioEventLoopGroup-484-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:34.750 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf2c5e18, /127.0.0.1:44132 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.750 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf2c5e18, /127.0.0.1:44132 => /127.0.0.1:38620] FLUSH
17:12:34.750 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.750 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf2c5e18, /127.0.0.1:44132 => /127.0.0.1:38620] FLUSH
17:12:34.750 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf2c5e18, /127.0.0.1:44132 :> /127.0.0.1:38620] INACTIVE
17:12:34.750 [nioEventLoopGroup-484-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf2c5e18, /127.0.0.1:44132 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.750 [nioEventLoopGroup-490-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-490-1
17:12:34.751 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.753 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a9a1e01, /127.0.0.1:44134 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:34.754 [nioEventLoopGroup-484-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:34.754 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a9a1e01, /127.0.0.1:44134 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.754 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a9a1e01, /127.0.0.1:44134 => /127.0.0.1:38620] FLUSH
17:12:34.754 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.754 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a9a1e01, /127.0.0.1:44134 => /127.0.0.1:38620] FLUSH
17:12:34.755 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a9a1e01, /127.0.0.1:44134 :> /127.0.0.1:38620] INACTIVE
17:12:34.755 [nioEventLoopGroup-484-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8a9a1e01, /127.0.0.1:44134 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.755 [nioEventLoopGroup-491-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-491-1
17:12:34.756 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.758 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e39cc7b, /127.0.0.1:44138 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.759 [nioEventLoopGroup-484-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:34.759 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e39cc7b, /127.0.0.1:44138 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.759 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e39cc7b, /127.0.0.1:44138 => /127.0.0.1:38620] FLUSH
17:12:34.761 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.762 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e39cc7b, /127.0.0.1:44138 => /127.0.0.1:38620] FLUSH
17:12:34.762 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e39cc7b, /127.0.0.1:44138 :> /127.0.0.1:38620] INACTIVE
17:12:34.762 [nioEventLoopGroup-492-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-492-1
17:12:34.766 [nioEventLoopGroup-484-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e39cc7b, /127.0.0.1:44138 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.766 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.770 [nioEventLoopGroup-484-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46333b5e, /127.0.0.1:44140 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.770 [nioEventLoopGroup-484-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:34.771 [nioEventLoopGroup-484-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46333b5e, /127.0.0.1:44140 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.771 [nioEventLoopGroup-484-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46333b5e, /127.0.0.1:44140 => /127.0.0.1:38620] FLUSH
17:12:34.771 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.771 [nioEventLoopGroup-484-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46333b5e, /127.0.0.1:44140 => /127.0.0.1:38620] FLUSH
17:12:34.771 [nioEventLoopGroup-484-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46333b5e, /127.0.0.1:44140 :> /127.0.0.1:38620] INACTIVE
17:12:34.771 [nioEventLoopGroup-484-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x46333b5e, /127.0.0.1:44140 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.771 [nioEventLoopGroup-493-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-493-1
17:12:34.772 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.775 [nioEventLoopGroup-484-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa87d0f8, /127.0.0.1:44144 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.776 [nioEventLoopGroup-484-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:34.776 [nioEventLoopGroup-484-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa87d0f8, /127.0.0.1:44144 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.776 [nioEventLoopGroup-484-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa87d0f8, /127.0.0.1:44144 => /127.0.0.1:38620] FLUSH
17:12:34.776 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.776 [nioEventLoopGroup-484-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa87d0f8, /127.0.0.1:44144 => /127.0.0.1:38620] FLUSH
17:12:34.776 [nioEventLoopGroup-494-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-494-1
17:12:34.776 [nioEventLoopGroup-484-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa87d0f8, /127.0.0.1:44144 :> /127.0.0.1:38620] INACTIVE
17:12:34.776 [nioEventLoopGroup-484-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xaa87d0f8, /127.0.0.1:44144 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.777 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.779 [nioEventLoopGroup-484-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c2d0b96, /127.0.0.1:44148 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:34.780 [nioEventLoopGroup-484-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:34.780 [nioEventLoopGroup-484-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c2d0b96, /127.0.0.1:44148 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.780 [nioEventLoopGroup-484-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c2d0b96, /127.0.0.1:44148 => /127.0.0.1:38620] FLUSH
17:12:34.780 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.781 [nioEventLoopGroup-484-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c2d0b96, /127.0.0.1:44148 => /127.0.0.1:38620] FLUSH
17:12:34.781 [nioEventLoopGroup-484-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c2d0b96, /127.0.0.1:44148 :> /127.0.0.1:38620] INACTIVE
17:12:34.781 [nioEventLoopGroup-484-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1c2d0b96, /127.0.0.1:44148 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.781 [nioEventLoopGroup-495-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-495-1
17:12:34.782 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.784 [nioEventLoopGroup-484-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7beb96ba, /127.0.0.1:44150 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:34.785 [nioEventLoopGroup-484-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:34.786 [nioEventLoopGroup-484-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7beb96ba, /127.0.0.1:44150 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.786 [nioEventLoopGroup-484-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7beb96ba, /127.0.0.1:44150 => /127.0.0.1:38620] FLUSH
17:12:34.786 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.786 [nioEventLoopGroup-496-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-496-1
17:12:34.787 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:34.788 [nioEventLoopGroup-484-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7beb96ba, /127.0.0.1:44150 => /127.0.0.1:38620] FLUSH
17:12:34.788 [nioEventLoopGroup-484-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7beb96ba, /127.0.0.1:44150 :> /127.0.0.1:38620] INACTIVE
17:12:34.788 [nioEventLoopGroup-484-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7beb96ba, /127.0.0.1:44150 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.790 [nioEventLoopGroup-484-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9ef5f3e, /127.0.0.1:44154 => /127.0.0.1:38620] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:34.791 [nioEventLoopGroup-484-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:34.791 [nioEventLoopGroup-484-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9ef5f3e, /127.0.0.1:44154 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.791 [nioEventLoopGroup-484-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9ef5f3e, /127.0.0.1:44154 => /127.0.0.1:38620] FLUSH
17:12:34.792 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.792 [nioEventLoopGroup-484-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9ef5f3e, /127.0.0.1:44154 => /127.0.0.1:38620] FLUSH
17:12:34.792 [nioEventLoopGroup-484-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9ef5f3e, /127.0.0.1:44154 :> /127.0.0.1:38620] INACTIVE
17:12:34.792 [nioEventLoopGroup-484-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf9ef5f3e, /127.0.0.1:44154 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.792 [nioEventLoopGroup-497-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-497-1
17:12:34.798 [nioEventLoopGroup-484-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc844fbb9, /127.0.0.1:44160 => /127.0.0.1:38620] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /json HTTP/1.1
Host: localhost:38620
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:34.798 [nioEventLoopGroup-484-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.799 [nioEventLoopGroup-484-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.799 [nioEventLoopGroup-484-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:34.799 [nioEventLoopGroup-484-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.799 [nioEventLoopGroup-484-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.799 [nioEventLoopGroup-484-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}


17:12:34.800 [nioEventLoopGroup-484-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/json" ]
	  } ],
	  "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:34.800 [nioEventLoopGroup-484-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc844fbb9, /127.0.0.1:44160 => /127.0.0.1:38620] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 136, cap: 136/136))
HTTP/1.1 200 OK
Content-Type: text/json
Content-Length: 136
Connection: keep-alive, 136B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 0a 7b 0a 20 20 20 20 22 69 74 65 6d 73 22 3a 5b |.{.    "items":[|
|00000010| 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 |.        {.     |
|00000020| 20 20 20 20 20 20 20 22 6e 61 6d 65 22 3a 22 61 |       "name":"a|
|00000030| 6c 70 68 61 22 2c 0a 20 20 20 20 20 20 20 20 20 |lpha",.         |
|00000040| 20 20 20 22 73 63 6f 72 65 22 3a 31 32 33 2c 0a |   "score":123,.|
|00000050| 20 20 20 20 20 20 20 20 20 20 20 20 22 74 65 78 |            "tex|
|00000060| 74 22 3a 20 22 4e 6f 74 68 69 6e 67 20 73 70 65 |t": "Nothing spe|
|00000070| 63 69 61 6c 22 0a 20 20 20 20 20 20 20 20 7d 0a |cial".        }.|
|00000080| 20 20 20 20 5d 0a 7d 0a                         |    ].}.        |
+--------+-------------------------------------------------+----------------+
17:12:34.800 [nioEventLoopGroup-484-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc844fbb9, /127.0.0.1:44160 => /127.0.0.1:38620] FLUSH
17:12:34.825 [nioEventLoopGroup-484-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x855980d5, /127.0.0.1:44164 => /127.0.0.1:38620] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /json HTTP/1.1
Host: localhost:38620
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:34.826 [nioEventLoopGroup-484-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.826 [nioEventLoopGroup-484-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.826 [nioEventLoopGroup-484-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:34.827 [nioEventLoopGroup-484-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.827 [nioEventLoopGroup-484-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:34.827 [nioEventLoopGroup-484-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}


17:12:34.827 [nioEventLoopGroup-484-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/json" ]
	  } ],
	  "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:38620" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:34.827 [nioEventLoopGroup-484-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x855980d5, /127.0.0.1:44164 => /127.0.0.1:38620] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 136, cap: 136/136))
HTTP/1.1 200 OK
Content-Type: text/json
Content-Length: 136
Connection: keep-alive, 136B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 0a 7b 0a 20 20 20 20 22 69 74 65 6d 73 22 3a 5b |.{.    "items":[|
|00000010| 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 |.        {.     |
|00000020| 20 20 20 20 20 20 20 22 6e 61 6d 65 22 3a 22 61 |       "name":"a|
|00000030| 6c 70 68 61 22 2c 0a 20 20 20 20 20 20 20 20 20 |lpha",.         |
|00000040| 20 20 20 22 73 63 6f 72 65 22 3a 31 32 33 2c 0a |   "score":123,.|
|00000050| 20 20 20 20 20 20 20 20 20 20 20 20 22 74 65 78 |            "tex|
|00000060| 74 22 3a 20 22 4e 6f 74 68 69 6e 67 20 73 70 65 |t": "Nothing spe|
|00000070| 63 69 61 6c 22 0a 20 20 20 20 20 20 20 20 7d 0a |cial".        }.|
|00000080| 20 20 20 20 5d 0a 7d 0a                         |    ].}.        |
+--------+-------------------------------------------------+----------------+
17:12:34.828 [nioEventLoopGroup-484-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x855980d5, /127.0.0.1:44164 => /127.0.0.1:38620] FLUSH
17:12:34.829 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:34.831 [nioEventLoopGroup-484-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26100583, /127.0.0.1:44166 => /127.0.0.1:38620] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:38620
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:34.831 [nioEventLoopGroup-484-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26100583, /127.0.0.1:44166 => /127.0.0.1:38620] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:34.831 [nioEventLoopGroup-484-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26100583, /127.0.0.1:44166 => /127.0.0.1:38620] FLUSH
17:12:34.831 [nioEventLoopGroup-484-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26100583, /127.0.0.1:44166 => /127.0.0.1:38620] CLOSE()
17:12:34.831 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:34.831 [nioEventLoopGroup-498-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-498-1
17:12:34.832 [nioEventLoopGroup-484-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-1
17:12:34.832 [nioEventLoopGroup-484-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-2
17:12:34.832 [nioEventLoopGroup-484-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-11
17:12:34.832 [nioEventLoopGroup-484-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-3
17:12:34.832 [nioEventLoopGroup-484-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-13
17:12:34.832 [nioEventLoopGroup-484-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-4
17:12:34.832 [nioEventLoopGroup-484-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-5
17:12:34.833 [nioEventLoopGroup-484-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-6
17:12:34.833 [nioEventLoopGroup-484-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-7
17:12:34.833 [nioEventLoopGroup-484-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-8
17:12:34.833 [nioEventLoopGroup-484-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-9
17:12:34.833 [nioEventLoopGroup-484-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-10
17:12:34.833 [nioEventLoopGroup-484-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-12
17:12:34.833 [nioEventLoopGroup-484-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x855980d5, /127.0.0.1:44164 :> /127.0.0.1:38620] INACTIVE
17:12:34.833 [nioEventLoopGroup-484-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc844fbb9, /127.0.0.1:44160 :> /127.0.0.1:38620] INACTIVE
17:12:34.833 [nioEventLoopGroup-484-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x855980d5, /127.0.0.1:44164 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.833 [nioEventLoopGroup-484-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc844fbb9, /127.0.0.1:44160 :> /127.0.0.1:38620] UNREGISTERED
17:12:34.835 [nioEventLoopGroup-468-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x618c5448, /127.0.0.1:51860 :> /127.0.0.1:38754] FLUSH
17:12:34.835 [nioEventLoopGroup-468-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x618c5448, /127.0.0.1:51860 :> /127.0.0.1:38754] INACTIVE
17:12:34.835 [nioEventLoopGroup-468-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x618c5448, /127.0.0.1:51860 :> /127.0.0.1:38754] UNREGISTERED
17:12:34.835 [nioEventLoopGroup-468-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-15
17:12:34.839 [nioEventLoopGroup-452-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-15
17:12:34.839 [nioEventLoopGroup-452-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-452-14
17:12:35.186 [MockServer thread for port: 43699] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 43699
17:12:35.186 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.190 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb340db1d, /127.0.0.1:47460 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:35.191 [nioEventLoopGroup-500-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:35.191 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb340db1d, /127.0.0.1:47460 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.192 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb340db1d, /127.0.0.1:47460 => /127.0.0.1:43699] FLUSH
17:12:35.192 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.192 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb340db1d, /127.0.0.1:47460 => /127.0.0.1:43699] FLUSH
17:12:35.192 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb340db1d, /127.0.0.1:47460 :> /127.0.0.1:43699] INACTIVE
17:12:35.192 [nioEventLoopGroup-501-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-501-1
17:12:35.192 [nioEventLoopGroup-500-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb340db1d, /127.0.0.1:47460 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.193 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.196 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x162d230d, /127.0.0.1:47464 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:35.197 [nioEventLoopGroup-500-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:35.197 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x162d230d, /127.0.0.1:47464 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.197 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x162d230d, /127.0.0.1:47464 => /127.0.0.1:43699] FLUSH
17:12:35.197 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.198 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x162d230d, /127.0.0.1:47464 => /127.0.0.1:43699] FLUSH
17:12:35.198 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x162d230d, /127.0.0.1:47464 :> /127.0.0.1:43699] INACTIVE
17:12:35.198 [nioEventLoopGroup-502-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-502-1
17:12:35.199 [nioEventLoopGroup-500-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x162d230d, /127.0.0.1:47464 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.200 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.203 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb2ceb50, /127.0.0.1:47468 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:35.204 [nioEventLoopGroup-500-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:35.204 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb2ceb50, /127.0.0.1:47468 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.204 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb2ceb50, /127.0.0.1:47468 => /127.0.0.1:43699] FLUSH
17:12:35.205 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.205 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb2ceb50, /127.0.0.1:47468 => /127.0.0.1:43699] FLUSH
17:12:35.205 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb2ceb50, /127.0.0.1:47468 :> /127.0.0.1:43699] INACTIVE
17:12:35.205 [nioEventLoopGroup-500-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb2ceb50, /127.0.0.1:47468 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.205 [nioEventLoopGroup-503-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-503-1
17:12:35.207 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.209 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f49b4fd, /127.0.0.1:47472 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.210 [nioEventLoopGroup-500-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:35.210 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f49b4fd, /127.0.0.1:47472 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.211 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f49b4fd, /127.0.0.1:47472 => /127.0.0.1:43699] FLUSH
17:12:35.211 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.211 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f49b4fd, /127.0.0.1:47472 => /127.0.0.1:43699] FLUSH
17:12:35.211 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f49b4fd, /127.0.0.1:47472 :> /127.0.0.1:43699] INACTIVE
17:12:35.211 [nioEventLoopGroup-500-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f49b4fd, /127.0.0.1:47472 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.211 [nioEventLoopGroup-504-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-504-1
17:12:35.212 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.214 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09e935be, /127.0.0.1:47476 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:35.215 [nioEventLoopGroup-500-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:35.216 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09e935be, /127.0.0.1:47476 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.216 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09e935be, /127.0.0.1:47476 => /127.0.0.1:43699] FLUSH
17:12:35.216 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.216 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09e935be, /127.0.0.1:47476 => /127.0.0.1:43699] FLUSH
17:12:35.216 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09e935be, /127.0.0.1:47476 :> /127.0.0.1:43699] INACTIVE
17:12:35.216 [nioEventLoopGroup-505-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-505-1
17:12:35.216 [nioEventLoopGroup-500-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x09e935be, /127.0.0.1:47476 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.217 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.229 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5320bb8, /127.0.0.1:47480 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:35.230 [nioEventLoopGroup-500-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:35.230 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5320bb8, /127.0.0.1:47480 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.230 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5320bb8, /127.0.0.1:47480 => /127.0.0.1:43699] FLUSH
17:12:35.230 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.231 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5320bb8, /127.0.0.1:47480 => /127.0.0.1:43699] FLUSH
17:12:35.231 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5320bb8, /127.0.0.1:47480 :> /127.0.0.1:43699] INACTIVE
17:12:35.231 [nioEventLoopGroup-500-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb5320bb8, /127.0.0.1:47480 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.231 [nioEventLoopGroup-506-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-506-1
17:12:35.232 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.235 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38fc7efc, /127.0.0.1:47484 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:35.235 [nioEventLoopGroup-500-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:35.236 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38fc7efc, /127.0.0.1:47484 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.236 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38fc7efc, /127.0.0.1:47484 => /127.0.0.1:43699] FLUSH
17:12:35.236 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.237 [nioEventLoopGroup-507-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-507-1
17:12:35.237 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38fc7efc, /127.0.0.1:47484 => /127.0.0.1:43699] FLUSH
17:12:35.237 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38fc7efc, /127.0.0.1:47484 :> /127.0.0.1:43699] INACTIVE
17:12:35.237 [nioEventLoopGroup-500-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38fc7efc, /127.0.0.1:47484 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.239 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.241 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa11c2a23, /127.0.0.1:47488 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.242 [nioEventLoopGroup-500-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:35.242 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa11c2a23, /127.0.0.1:47488 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.242 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa11c2a23, /127.0.0.1:47488 => /127.0.0.1:43699] FLUSH
17:12:35.243 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.243 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa11c2a23, /127.0.0.1:47488 => /127.0.0.1:43699] FLUSH
17:12:35.243 [nioEventLoopGroup-508-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-508-1
17:12:35.243 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa11c2a23, /127.0.0.1:47488 :> /127.0.0.1:43699] INACTIVE
17:12:35.243 [nioEventLoopGroup-500-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa11c2a23, /127.0.0.1:47488 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.244 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.246 [nioEventLoopGroup-500-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a886007, /127.0.0.1:47492 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.246 [nioEventLoopGroup-500-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:35.247 [nioEventLoopGroup-500-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a886007, /127.0.0.1:47492 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.247 [nioEventLoopGroup-500-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a886007, /127.0.0.1:47492 => /127.0.0.1:43699] FLUSH
17:12:35.247 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.247 [nioEventLoopGroup-500-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a886007, /127.0.0.1:47492 => /127.0.0.1:43699] FLUSH
17:12:35.247 [nioEventLoopGroup-500-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a886007, /127.0.0.1:47492 :> /127.0.0.1:43699] INACTIVE
17:12:35.247 [nioEventLoopGroup-509-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-509-1
17:12:35.247 [nioEventLoopGroup-500-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6a886007, /127.0.0.1:47492 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.248 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.251 [nioEventLoopGroup-500-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2a31abf, /127.0.0.1:47496 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.251 [nioEventLoopGroup-500-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:35.251 [nioEventLoopGroup-500-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2a31abf, /127.0.0.1:47496 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.252 [nioEventLoopGroup-500-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2a31abf, /127.0.0.1:47496 => /127.0.0.1:43699] FLUSH
17:12:35.252 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.252 [nioEventLoopGroup-500-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2a31abf, /127.0.0.1:47496 => /127.0.0.1:43699] FLUSH
17:12:35.252 [nioEventLoopGroup-500-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2a31abf, /127.0.0.1:47496 :> /127.0.0.1:43699] INACTIVE
17:12:35.252 [nioEventLoopGroup-500-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2a31abf, /127.0.0.1:47496 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.252 [nioEventLoopGroup-510-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-510-1
17:12:35.253 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.255 [nioEventLoopGroup-500-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22c2c040, /127.0.0.1:47498 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.256 [nioEventLoopGroup-500-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:35.256 [nioEventLoopGroup-500-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22c2c040, /127.0.0.1:47498 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.256 [nioEventLoopGroup-500-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22c2c040, /127.0.0.1:47498 => /127.0.0.1:43699] FLUSH
17:12:35.256 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.257 [nioEventLoopGroup-500-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22c2c040, /127.0.0.1:47498 => /127.0.0.1:43699] FLUSH
17:12:35.257 [nioEventLoopGroup-511-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-511-1
17:12:35.257 [nioEventLoopGroup-500-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22c2c040, /127.0.0.1:47498 :> /127.0.0.1:43699] INACTIVE
17:12:35.257 [nioEventLoopGroup-500-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x22c2c040, /127.0.0.1:47498 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.258 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.259 [nioEventLoopGroup-500-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2de2352, /127.0.0.1:47500 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:35.260 [nioEventLoopGroup-500-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:35.260 [nioEventLoopGroup-500-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2de2352, /127.0.0.1:47500 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.260 [nioEventLoopGroup-500-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2de2352, /127.0.0.1:47500 => /127.0.0.1:43699] FLUSH
17:12:35.261 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.261 [nioEventLoopGroup-500-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2de2352, /127.0.0.1:47500 => /127.0.0.1:43699] FLUSH
17:12:35.261 [nioEventLoopGroup-500-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2de2352, /127.0.0.1:47500 :> /127.0.0.1:43699] INACTIVE
17:12:35.261 [nioEventLoopGroup-500-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb2de2352, /127.0.0.1:47500 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.261 [nioEventLoopGroup-512-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-512-1
17:12:35.265 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.268 [nioEventLoopGroup-500-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1fe6bb8, /127.0.0.1:47504 => /127.0.0.1:43699] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:35.269 [nioEventLoopGroup-500-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:35.269 [nioEventLoopGroup-500-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1fe6bb8, /127.0.0.1:47504 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.270 [nioEventLoopGroup-500-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1fe6bb8, /127.0.0.1:47504 => /127.0.0.1:43699] FLUSH
17:12:35.270 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.270 [nioEventLoopGroup-500-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1fe6bb8, /127.0.0.1:47504 => /127.0.0.1:43699] FLUSH
17:12:35.270 [nioEventLoopGroup-500-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1fe6bb8, /127.0.0.1:47504 :> /127.0.0.1:43699] INACTIVE
17:12:35.270 [nioEventLoopGroup-500-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa1fe6bb8, /127.0.0.1:47504 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.270 [nioEventLoopGroup-513-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-513-1
17:12:35.273 [nioEventLoopGroup-500-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71450ec5, /127.0.0.1:47506 => /127.0.0.1:43699] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /json HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:43699
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:35.273 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.273 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.274 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:35.274 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.274 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.274 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}


17:12:35.275 [nioEventLoopGroup-500-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/json" ]
	  } ],
	  "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:35.275 [nioEventLoopGroup-500-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71450ec5, /127.0.0.1:47506 => /127.0.0.1:43699] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 136, cap: 136/136))
HTTP/1.1 200 OK
Content-Type: text/json
Content-Length: 136
Connection: keep-alive, 136B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 0a 7b 0a 20 20 20 20 22 69 74 65 6d 73 22 3a 5b |.{.    "items":[|
|00000010| 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 |.        {.     |
|00000020| 20 20 20 20 20 20 20 22 6e 61 6d 65 22 3a 22 61 |       "name":"a|
|00000030| 6c 70 68 61 22 2c 0a 20 20 20 20 20 20 20 20 20 |lpha",.         |
|00000040| 20 20 20 22 73 63 6f 72 65 22 3a 31 32 33 2c 0a |   "score":123,.|
|00000050| 20 20 20 20 20 20 20 20 20 20 20 20 22 74 65 78 |            "tex|
|00000060| 74 22 3a 20 22 4e 6f 74 68 69 6e 67 20 73 70 65 |t": "Nothing spe|
|00000070| 63 69 61 6c 22 0a 20 20 20 20 20 20 20 20 7d 0a |cial".        }.|
|00000080| 20 20 20 20 5d 0a 7d 0a                         |    ].}.        |
+--------+-------------------------------------------------+----------------+
17:12:35.275 [nioEventLoopGroup-500-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71450ec5, /127.0.0.1:47506 => /127.0.0.1:43699] FLUSH
17:12:35.277 [nioEventLoopGroup-500-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71450ec5, /127.0.0.1:47506 => /127.0.0.1:43699] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /json HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:43699
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:35.277 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.278 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.278 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:35.278 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.278 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.279 [nioEventLoopGroup-500-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}


17:12:35.279 [nioEventLoopGroup-500-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/json" ]
	  } ],
	  "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/json",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:43699" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:35.279 [nioEventLoopGroup-500-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71450ec5, /127.0.0.1:47506 => /127.0.0.1:43699] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 136, cap: 136/136))
HTTP/1.1 200 OK
Content-Type: text/json
Content-Length: 136
Connection: keep-alive, 136B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 0a 7b 0a 20 20 20 20 22 69 74 65 6d 73 22 3a 5b |.{.    "items":[|
|00000010| 0a 20 20 20 20 20 20 20 20 7b 0a 20 20 20 20 20 |.        {.     |
|00000020| 20 20 20 20 20 20 20 22 6e 61 6d 65 22 3a 22 61 |       "name":"a|
|00000030| 6c 70 68 61 22 2c 0a 20 20 20 20 20 20 20 20 20 |lpha",.         |
|00000040| 20 20 20 22 73 63 6f 72 65 22 3a 31 32 33 2c 0a |   "score":123,.|
|00000050| 20 20 20 20 20 20 20 20 20 20 20 20 22 74 65 78 |            "tex|
|00000060| 74 22 3a 20 22 4e 6f 74 68 69 6e 67 20 73 70 65 |t": "Nothing spe|
|00000070| 63 69 61 6c 22 0a 20 20 20 20 20 20 20 20 7d 0a |cial".        }.|
|00000080| 20 20 20 20 5d 0a 7d 0a                         |    ].}.        |
+--------+-------------------------------------------------+----------------+
17:12:35.279 [nioEventLoopGroup-500-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71450ec5, /127.0.0.1:47506 => /127.0.0.1:43699] FLUSH
17:12:35.280 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:35.282 [nioEventLoopGroup-500-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7eb049ae, /127.0.0.1:47508 => /127.0.0.1:43699] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:43699
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:35.283 [nioEventLoopGroup-500-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7eb049ae, /127.0.0.1:47508 => /127.0.0.1:43699] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.284 [nioEventLoopGroup-500-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7eb049ae, /127.0.0.1:47508 => /127.0.0.1:43699] FLUSH
17:12:35.284 [nioEventLoopGroup-500-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7eb049ae, /127.0.0.1:47508 => /127.0.0.1:43699] CLOSE()
17:12:35.284 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.284 [nioEventLoopGroup-514-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-514-1
17:12:35.287 [nioEventLoopGroup-500-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-6
17:12:35.287 [nioEventLoopGroup-500-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-2
17:12:35.287 [nioEventLoopGroup-500-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-10
17:12:35.287 [nioEventLoopGroup-500-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-8
17:12:35.287 [nioEventLoopGroup-500-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-5
17:12:35.287 [nioEventLoopGroup-500-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-9
17:12:35.287 [nioEventLoopGroup-500-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-1
17:12:35.287 [nioEventLoopGroup-500-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-12
17:12:35.287 [nioEventLoopGroup-500-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-13
17:12:35.287 [nioEventLoopGroup-500-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-3
17:12:35.287 [nioEventLoopGroup-500-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-4
17:12:35.287 [nioEventLoopGroup-500-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71450ec5, /127.0.0.1:47506 :> /127.0.0.1:43699] INACTIVE
17:12:35.287 [nioEventLoopGroup-500-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-7
17:12:35.288 [nioEventLoopGroup-500-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-11
17:12:35.288 [nioEventLoopGroup-500-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71450ec5, /127.0.0.1:47506 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.332 [nioEventLoopGroup-484-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26100583, /127.0.0.1:44166 :> /127.0.0.1:38620] FLUSH
17:12:35.333 [nioEventLoopGroup-484-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26100583, /127.0.0.1:44166 :> /127.0.0.1:38620] INACTIVE
17:12:35.333 [nioEventLoopGroup-484-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x26100583, /127.0.0.1:44166 :> /127.0.0.1:38620] UNREGISTERED
17:12:35.333 [nioEventLoopGroup-484-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-16
17:12:35.339 [nioEventLoopGroup-468-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-468-14
17:12:35.642 [MockServer thread for port: 37914] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 37914
17:12:35.643 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.647 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7dd04fa, /127.0.0.1:52140 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:35.649 [nioEventLoopGroup-516-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:35.650 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7dd04fa, /127.0.0.1:52140 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.650 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7dd04fa, /127.0.0.1:52140 => /127.0.0.1:37914] FLUSH
17:12:35.650 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.651 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7dd04fa, /127.0.0.1:52140 => /127.0.0.1:37914] FLUSH
17:12:35.651 [nioEventLoopGroup-517-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-517-1
17:12:35.651 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7dd04fa, /127.0.0.1:52140 :> /127.0.0.1:37914] INACTIVE
17:12:35.651 [nioEventLoopGroup-516-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7dd04fa, /127.0.0.1:52140 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.653 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.657 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc760e9cc, /127.0.0.1:52144 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:35.659 [nioEventLoopGroup-516-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:35.659 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc760e9cc, /127.0.0.1:52144 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.659 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc760e9cc, /127.0.0.1:52144 => /127.0.0.1:37914] FLUSH
17:12:35.659 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.660 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc760e9cc, /127.0.0.1:52144 => /127.0.0.1:37914] FLUSH
17:12:35.660 [nioEventLoopGroup-518-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-518-1
17:12:35.660 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc760e9cc, /127.0.0.1:52144 :> /127.0.0.1:37914] INACTIVE
17:12:35.660 [nioEventLoopGroup-516-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc760e9cc, /127.0.0.1:52144 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.661 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.664 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x386ae9f8, /127.0.0.1:52148 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:35.667 [nioEventLoopGroup-516-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:35.667 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x386ae9f8, /127.0.0.1:52148 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.668 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x386ae9f8, /127.0.0.1:52148 => /127.0.0.1:37914] FLUSH
17:12:35.668 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.669 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x386ae9f8, /127.0.0.1:52148 => /127.0.0.1:37914] FLUSH
17:12:35.669 [nioEventLoopGroup-519-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-519-1
17:12:35.669 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x386ae9f8, /127.0.0.1:52148 :> /127.0.0.1:37914] INACTIVE
17:12:35.669 [nioEventLoopGroup-516-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x386ae9f8, /127.0.0.1:52148 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.671 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.674 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd05b5b05, /127.0.0.1:52150 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.675 [nioEventLoopGroup-516-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:35.675 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd05b5b05, /127.0.0.1:52150 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.676 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd05b5b05, /127.0.0.1:52150 => /127.0.0.1:37914] FLUSH
17:12:35.676 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.676 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd05b5b05, /127.0.0.1:52150 => /127.0.0.1:37914] FLUSH
17:12:35.676 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd05b5b05, /127.0.0.1:52150 :> /127.0.0.1:37914] INACTIVE
17:12:35.676 [nioEventLoopGroup-516-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd05b5b05, /127.0.0.1:52150 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.676 [nioEventLoopGroup-520-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-520-1
17:12:35.678 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.681 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2a8a5a, /127.0.0.1:52154 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:35.682 [nioEventLoopGroup-516-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:35.683 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2a8a5a, /127.0.0.1:52154 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.683 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2a8a5a, /127.0.0.1:52154 => /127.0.0.1:37914] FLUSH
17:12:35.683 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.683 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2a8a5a, /127.0.0.1:52154 => /127.0.0.1:37914] FLUSH
17:12:35.683 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2a8a5a, /127.0.0.1:52154 :> /127.0.0.1:37914] INACTIVE
17:12:35.683 [nioEventLoopGroup-516-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2a8a5a, /127.0.0.1:52154 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.683 [nioEventLoopGroup-521-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-521-1
17:12:35.685 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.688 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b5da898, /127.0.0.1:52158 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:35.689 [nioEventLoopGroup-516-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:35.689 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b5da898, /127.0.0.1:52158 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.689 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b5da898, /127.0.0.1:52158 => /127.0.0.1:37914] FLUSH
17:12:35.689 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.689 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b5da898, /127.0.0.1:52158 => /127.0.0.1:37914] FLUSH
17:12:35.690 [nioEventLoopGroup-522-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-522-1
17:12:35.690 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b5da898, /127.0.0.1:52158 :> /127.0.0.1:37914] INACTIVE
17:12:35.690 [nioEventLoopGroup-516-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3b5da898, /127.0.0.1:52158 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.691 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.693 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc88e670, /127.0.0.1:52160 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:35.694 [nioEventLoopGroup-516-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:35.694 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc88e670, /127.0.0.1:52160 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.694 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc88e670, /127.0.0.1:52160 => /127.0.0.1:37914] FLUSH
17:12:35.694 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.694 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc88e670, /127.0.0.1:52160 => /127.0.0.1:37914] FLUSH
17:12:35.695 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc88e670, /127.0.0.1:52160 :> /127.0.0.1:37914] INACTIVE
17:12:35.695 [nioEventLoopGroup-523-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-523-1
17:12:35.695 [nioEventLoopGroup-516-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdc88e670, /127.0.0.1:52160 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.695 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.698 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec099618, /127.0.0.1:52162 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.699 [nioEventLoopGroup-516-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:35.699 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec099618, /127.0.0.1:52162 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.699 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec099618, /127.0.0.1:52162 => /127.0.0.1:37914] FLUSH
17:12:35.699 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.699 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec099618, /127.0.0.1:52162 => /127.0.0.1:37914] FLUSH
17:12:35.699 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec099618, /127.0.0.1:52162 :> /127.0.0.1:37914] INACTIVE
17:12:35.699 [nioEventLoopGroup-516-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xec099618, /127.0.0.1:52162 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.699 [nioEventLoopGroup-524-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-524-1
17:12:35.702 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.705 [nioEventLoopGroup-516-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2487ccb, /127.0.0.1:52166 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.706 [nioEventLoopGroup-516-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:35.706 [nioEventLoopGroup-516-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2487ccb, /127.0.0.1:52166 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.706 [nioEventLoopGroup-516-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2487ccb, /127.0.0.1:52166 => /127.0.0.1:37914] FLUSH
17:12:35.706 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.706 [nioEventLoopGroup-516-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2487ccb, /127.0.0.1:52166 => /127.0.0.1:37914] FLUSH
17:12:35.706 [nioEventLoopGroup-516-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2487ccb, /127.0.0.1:52166 :> /127.0.0.1:37914] INACTIVE
17:12:35.706 [nioEventLoopGroup-525-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-525-1
17:12:35.707 [nioEventLoopGroup-516-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc2487ccb, /127.0.0.1:52166 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.707 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.710 [nioEventLoopGroup-516-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb01831f5, /127.0.0.1:52168 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.710 [nioEventLoopGroup-516-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:35.711 [nioEventLoopGroup-516-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb01831f5, /127.0.0.1:52168 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.711 [nioEventLoopGroup-516-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb01831f5, /127.0.0.1:52168 => /127.0.0.1:37914] FLUSH
17:12:35.711 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.711 [nioEventLoopGroup-516-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb01831f5, /127.0.0.1:52168 => /127.0.0.1:37914] FLUSH
17:12:35.711 [nioEventLoopGroup-516-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb01831f5, /127.0.0.1:52168 :> /127.0.0.1:37914] INACTIVE
17:12:35.711 [nioEventLoopGroup-526-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-526-1
17:12:35.711 [nioEventLoopGroup-516-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb01831f5, /127.0.0.1:52168 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.712 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.716 [nioEventLoopGroup-516-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x817e0600, /127.0.0.1:52172 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:35.717 [nioEventLoopGroup-516-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:35.717 [nioEventLoopGroup-516-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x817e0600, /127.0.0.1:52172 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.717 [nioEventLoopGroup-516-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x817e0600, /127.0.0.1:52172 => /127.0.0.1:37914] FLUSH
17:12:35.717 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.717 [nioEventLoopGroup-516-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x817e0600, /127.0.0.1:52172 => /127.0.0.1:37914] FLUSH
17:12:35.718 [nioEventLoopGroup-516-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x817e0600, /127.0.0.1:52172 :> /127.0.0.1:37914] INACTIVE
17:12:35.718 [nioEventLoopGroup-516-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x817e0600, /127.0.0.1:52172 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.718 [nioEventLoopGroup-527-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-527-1
17:12:35.720 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.723 [nioEventLoopGroup-516-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96d880da, /127.0.0.1:52176 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:35.724 [nioEventLoopGroup-516-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:35.724 [nioEventLoopGroup-516-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96d880da, /127.0.0.1:52176 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.724 [nioEventLoopGroup-516-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96d880da, /127.0.0.1:52176 => /127.0.0.1:37914] FLUSH
17:12:35.724 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.724 [nioEventLoopGroup-528-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-528-1
17:12:35.725 [nioEventLoopGroup-516-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96d880da, /127.0.0.1:52176 => /127.0.0.1:37914] FLUSH
17:12:35.725 [nioEventLoopGroup-516-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96d880da, /127.0.0.1:52176 :> /127.0.0.1:37914] INACTIVE
17:12:35.725 [nioEventLoopGroup-516-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x96d880da, /127.0.0.1:52176 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.726 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:35.729 [nioEventLoopGroup-516-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb6a8ab, /127.0.0.1:52180 => /127.0.0.1:37914] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:35.730 [nioEventLoopGroup-516-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:35.730 [nioEventLoopGroup-516-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb6a8ab, /127.0.0.1:52180 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.730 [nioEventLoopGroup-516-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb6a8ab, /127.0.0.1:52180 => /127.0.0.1:37914] FLUSH
17:12:35.731 [nioEventLoopGroup-516-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb6a8ab, /127.0.0.1:52180 => /127.0.0.1:37914] FLUSH
17:12:35.731 [nioEventLoopGroup-516-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb6a8ab, /127.0.0.1:52180 :> /127.0.0.1:37914] INACTIVE
17:12:35.731 [nioEventLoopGroup-516-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeeb6a8ab, /127.0.0.1:52180 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.731 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.731 [nioEventLoopGroup-529-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-529-1
17:12:35.746 [nioEventLoopGroup-516-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb362fb56, /127.0.0.1:52186 => /127.0.0.1:37914] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Host: localhost:37914
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Cookie: biscuit=wafer
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:35.763 [nioEventLoopGroup-516-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37914" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.764 [nioEventLoopGroup-516-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37914" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.764 [nioEventLoopGroup-516-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37914" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}


17:12:35.765 [nioEventLoopGroup-516-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37914" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:35.766 [nioEventLoopGroup-516-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb362fb56, /127.0.0.1:52186 => /127.0.0.1:37914] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 43 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g C</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
17:12:35.766 [nioEventLoopGroup-516-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb362fb56, /127.0.0.1:52186 => /127.0.0.1:37914] FLUSH
17:12:35.772 [nioEventLoopGroup-516-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd47ee9b6, /127.0.0.1:52194 => /127.0.0.1:37914] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Host: localhost:37914
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Cookie: biscuit=wafer
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:35.772 [nioEventLoopGroup-516-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37914" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.773 [nioEventLoopGroup-516-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37914" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:35.773 [nioEventLoopGroup-516-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37914" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}


17:12:35.773 [nioEventLoopGroup-516-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:37914" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:35.774 [nioEventLoopGroup-516-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd47ee9b6, /127.0.0.1:52194 => /127.0.0.1:37914] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 43 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g C</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
17:12:35.774 [nioEventLoopGroup-516-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd47ee9b6, /127.0.0.1:52194 => /127.0.0.1:37914] FLUSH
17:12:35.775 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:35.781 [nioEventLoopGroup-516-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf1d4c1bd, /127.0.0.1:52196 => /127.0.0.1:37914] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:37914
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:35.782 [nioEventLoopGroup-516-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf1d4c1bd, /127.0.0.1:52196 => /127.0.0.1:37914] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:35.782 [nioEventLoopGroup-516-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf1d4c1bd, /127.0.0.1:52196 => /127.0.0.1:37914] FLUSH
17:12:35.782 [nioEventLoopGroup-516-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf1d4c1bd, /127.0.0.1:52196 => /127.0.0.1:37914] CLOSE()
17:12:35.782 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:35.783 [nioEventLoopGroup-530-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-530-1
17:12:35.783 [nioEventLoopGroup-516-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-2
17:12:35.783 [nioEventLoopGroup-516-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-5
17:12:35.783 [nioEventLoopGroup-516-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-6
17:12:35.783 [nioEventLoopGroup-516-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-8
17:12:35.783 [nioEventLoopGroup-516-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-12
17:12:35.783 [nioEventLoopGroup-516-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-4
17:12:35.783 [nioEventLoopGroup-516-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-11
17:12:35.783 [nioEventLoopGroup-516-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb362fb56, /127.0.0.1:52186 :> /127.0.0.1:37914] INACTIVE
17:12:35.783 [nioEventLoopGroup-516-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-7
17:12:35.783 [nioEventLoopGroup-516-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-9
17:12:35.783 [nioEventLoopGroup-516-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-10
17:12:35.783 [nioEventLoopGroup-516-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-13
17:12:35.783 [nioEventLoopGroup-516-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-1
17:12:35.783 [nioEventLoopGroup-516-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-3
17:12:35.784 [nioEventLoopGroup-516-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd47ee9b6, /127.0.0.1:52194 :> /127.0.0.1:37914] INACTIVE
17:12:35.788 [nioEventLoopGroup-500-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7eb049ae, /127.0.0.1:47508 :> /127.0.0.1:43699] FLUSH
17:12:35.789 [nioEventLoopGroup-516-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb362fb56, /127.0.0.1:52186 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.792 [nioEventLoopGroup-516-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd47ee9b6, /127.0.0.1:52194 :> /127.0.0.1:37914] UNREGISTERED
17:12:35.792 [nioEventLoopGroup-500-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7eb049ae, /127.0.0.1:47508 :> /127.0.0.1:43699] INACTIVE
17:12:35.792 [nioEventLoopGroup-500-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7eb049ae, /127.0.0.1:47508 :> /127.0.0.1:43699] UNREGISTERED
17:12:35.793 [nioEventLoopGroup-500-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-15
17:12:35.834 [nioEventLoopGroup-484-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-14
17:12:35.834 [nioEventLoopGroup-484-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-484-15
17:12:36.146 [MockServer thread for port: 39222] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 39222
17:12:36.146 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.150 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac58da75, /127.0.0.1:47110 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:36.151 [nioEventLoopGroup-532-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:36.151 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac58da75, /127.0.0.1:47110 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.151 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac58da75, /127.0.0.1:47110 => /127.0.0.1:39222] FLUSH
17:12:36.152 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.152 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac58da75, /127.0.0.1:47110 => /127.0.0.1:39222] FLUSH
17:12:36.152 [nioEventLoopGroup-533-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-533-1
17:12:36.152 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac58da75, /127.0.0.1:47110 :> /127.0.0.1:39222] INACTIVE
17:12:36.152 [nioEventLoopGroup-532-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac58da75, /127.0.0.1:47110 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.155 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.158 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65720a3d, /127.0.0.1:47112 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:36.160 [nioEventLoopGroup-532-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:36.160 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65720a3d, /127.0.0.1:47112 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.160 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65720a3d, /127.0.0.1:47112 => /127.0.0.1:39222] FLUSH
17:12:36.160 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.161 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65720a3d, /127.0.0.1:47112 => /127.0.0.1:39222] FLUSH
17:12:36.161 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65720a3d, /127.0.0.1:47112 :> /127.0.0.1:39222] INACTIVE
17:12:36.161 [nioEventLoopGroup-532-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x65720a3d, /127.0.0.1:47112 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.161 [nioEventLoopGroup-534-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-534-1
17:12:36.163 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.166 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x909d9ff8, /127.0.0.1:47114 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:36.167 [nioEventLoopGroup-532-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:36.167 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x909d9ff8, /127.0.0.1:47114 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.167 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x909d9ff8, /127.0.0.1:47114 => /127.0.0.1:39222] FLUSH
17:12:36.167 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.168 [nioEventLoopGroup-535-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-535-1
17:12:36.168 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x909d9ff8, /127.0.0.1:47114 => /127.0.0.1:39222] FLUSH
17:12:36.168 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x909d9ff8, /127.0.0.1:47114 :> /127.0.0.1:39222] INACTIVE
17:12:36.168 [nioEventLoopGroup-532-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x909d9ff8, /127.0.0.1:47114 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.169 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.172 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1620a6, /127.0.0.1:47116 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.173 [nioEventLoopGroup-532-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:36.174 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1620a6, /127.0.0.1:47116 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.174 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1620a6, /127.0.0.1:47116 => /127.0.0.1:39222] FLUSH
17:12:36.174 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.174 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1620a6, /127.0.0.1:47116 => /127.0.0.1:39222] FLUSH
17:12:36.175 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1620a6, /127.0.0.1:47116 :> /127.0.0.1:39222] INACTIVE
17:12:36.175 [nioEventLoopGroup-536-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-536-1
17:12:36.176 [nioEventLoopGroup-532-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1620a6, /127.0.0.1:47116 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.176 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.179 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7d5997c, /127.0.0.1:47118 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:36.180 [nioEventLoopGroup-532-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:36.180 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7d5997c, /127.0.0.1:47118 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.180 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7d5997c, /127.0.0.1:47118 => /127.0.0.1:39222] FLUSH
17:12:36.180 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.180 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7d5997c, /127.0.0.1:47118 => /127.0.0.1:39222] FLUSH
17:12:36.181 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7d5997c, /127.0.0.1:47118 :> /127.0.0.1:39222] INACTIVE
17:12:36.181 [nioEventLoopGroup-537-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-537-1
17:12:36.181 [nioEventLoopGroup-532-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7d5997c, /127.0.0.1:47118 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.182 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.184 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1c7176, /127.0.0.1:47120 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:36.185 [nioEventLoopGroup-532-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:36.185 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1c7176, /127.0.0.1:47120 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.185 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1c7176, /127.0.0.1:47120 => /127.0.0.1:39222] FLUSH
17:12:36.186 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.186 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1c7176, /127.0.0.1:47120 => /127.0.0.1:39222] FLUSH
17:12:36.186 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1c7176, /127.0.0.1:47120 :> /127.0.0.1:39222] INACTIVE
17:12:36.186 [nioEventLoopGroup-532-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7e1c7176, /127.0.0.1:47120 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.186 [nioEventLoopGroup-538-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-538-1
17:12:36.187 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.189 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7292d8e, /127.0.0.1:47122 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:36.190 [nioEventLoopGroup-532-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:36.190 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7292d8e, /127.0.0.1:47122 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.190 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7292d8e, /127.0.0.1:47122 => /127.0.0.1:39222] FLUSH
17:12:36.191 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.191 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7292d8e, /127.0.0.1:47122 => /127.0.0.1:39222] FLUSH
17:12:36.191 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7292d8e, /127.0.0.1:47122 :> /127.0.0.1:39222] INACTIVE
17:12:36.191 [nioEventLoopGroup-532-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa7292d8e, /127.0.0.1:47122 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.191 [nioEventLoopGroup-539-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-539-1
17:12:36.200 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.203 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97de02f7, /127.0.0.1:47124 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.203 [nioEventLoopGroup-532-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:36.204 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97de02f7, /127.0.0.1:47124 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.204 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97de02f7, /127.0.0.1:47124 => /127.0.0.1:39222] FLUSH
17:12:36.204 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.204 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97de02f7, /127.0.0.1:47124 => /127.0.0.1:39222] FLUSH
17:12:36.204 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97de02f7, /127.0.0.1:47124 :> /127.0.0.1:39222] INACTIVE
17:12:36.204 [nioEventLoopGroup-532-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x97de02f7, /127.0.0.1:47124 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.204 [nioEventLoopGroup-540-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-540-1
17:12:36.205 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.208 [nioEventLoopGroup-532-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x875c4513, /127.0.0.1:47126 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.208 [nioEventLoopGroup-532-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:36.209 [nioEventLoopGroup-532-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x875c4513, /127.0.0.1:47126 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.209 [nioEventLoopGroup-532-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x875c4513, /127.0.0.1:47126 => /127.0.0.1:39222] FLUSH
17:12:36.209 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.209 [nioEventLoopGroup-532-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x875c4513, /127.0.0.1:47126 => /127.0.0.1:39222] FLUSH
17:12:36.209 [nioEventLoopGroup-541-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-541-1
17:12:36.209 [nioEventLoopGroup-532-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x875c4513, /127.0.0.1:47126 :> /127.0.0.1:39222] INACTIVE
17:12:36.209 [nioEventLoopGroup-532-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x875c4513, /127.0.0.1:47126 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.210 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.212 [nioEventLoopGroup-532-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x226bd8f5, /127.0.0.1:47128 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.212 [nioEventLoopGroup-532-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:36.213 [nioEventLoopGroup-532-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x226bd8f5, /127.0.0.1:47128 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.213 [nioEventLoopGroup-532-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x226bd8f5, /127.0.0.1:47128 => /127.0.0.1:39222] FLUSH
17:12:36.213 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.213 [nioEventLoopGroup-532-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x226bd8f5, /127.0.0.1:47128 => /127.0.0.1:39222] FLUSH
17:12:36.213 [nioEventLoopGroup-532-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x226bd8f5, /127.0.0.1:47128 :> /127.0.0.1:39222] INACTIVE
17:12:36.213 [nioEventLoopGroup-532-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x226bd8f5, /127.0.0.1:47128 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.213 [nioEventLoopGroup-542-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-542-1
17:12:36.218 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.220 [nioEventLoopGroup-532-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f28eeb0, /127.0.0.1:47130 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.220 [nioEventLoopGroup-532-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:36.220 [nioEventLoopGroup-532-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f28eeb0, /127.0.0.1:47130 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.220 [nioEventLoopGroup-532-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f28eeb0, /127.0.0.1:47130 => /127.0.0.1:39222] FLUSH
17:12:36.221 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.221 [nioEventLoopGroup-532-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f28eeb0, /127.0.0.1:47130 => /127.0.0.1:39222] FLUSH
17:12:36.221 [nioEventLoopGroup-543-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-543-1
17:12:36.221 [nioEventLoopGroup-532-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f28eeb0, /127.0.0.1:47130 :> /127.0.0.1:39222] INACTIVE
17:12:36.221 [nioEventLoopGroup-532-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8f28eeb0, /127.0.0.1:47130 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.226 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.228 [nioEventLoopGroup-532-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf89de0c5, /127.0.0.1:47132 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:36.229 [nioEventLoopGroup-532-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:36.229 [nioEventLoopGroup-532-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf89de0c5, /127.0.0.1:47132 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.229 [nioEventLoopGroup-532-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf89de0c5, /127.0.0.1:47132 => /127.0.0.1:39222] FLUSH
17:12:36.229 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.229 [nioEventLoopGroup-532-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf89de0c5, /127.0.0.1:47132 => /127.0.0.1:39222] FLUSH
17:12:36.229 [nioEventLoopGroup-532-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf89de0c5, /127.0.0.1:47132 :> /127.0.0.1:39222] INACTIVE
17:12:36.229 [nioEventLoopGroup-532-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf89de0c5, /127.0.0.1:47132 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.229 [nioEventLoopGroup-544-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-544-1
17:12:36.230 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.232 [nioEventLoopGroup-532-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3716546b, /127.0.0.1:47134 => /127.0.0.1:39222] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:36.234 [nioEventLoopGroup-532-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:36.234 [nioEventLoopGroup-532-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3716546b, /127.0.0.1:47134 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.234 [nioEventLoopGroup-532-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3716546b, /127.0.0.1:47134 => /127.0.0.1:39222] FLUSH
17:12:36.234 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.234 [nioEventLoopGroup-532-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3716546b, /127.0.0.1:47134 => /127.0.0.1:39222] FLUSH
17:12:36.234 [nioEventLoopGroup-532-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3716546b, /127.0.0.1:47134 :> /127.0.0.1:39222] INACTIVE
17:12:36.234 [nioEventLoopGroup-532-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3716546b, /127.0.0.1:47134 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.234 [nioEventLoopGroup-545-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-545-1
17:12:36.239 [nioEventLoopGroup-532-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf561988, /127.0.0.1:47136 => /127.0.0.1:39222] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:39222
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Cookie: biscuit=wafer
Content-Length: 0, 0B
17:12:36.240 [nioEventLoopGroup-532-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39222" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:36.240 [nioEventLoopGroup-532-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39222" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:36.240 [nioEventLoopGroup-532-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39222" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}


17:12:36.241 [nioEventLoopGroup-532-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39222" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:36.241 [nioEventLoopGroup-532-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf561988, /127.0.0.1:47136 => /127.0.0.1:39222] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 43 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g C</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
17:12:36.241 [nioEventLoopGroup-532-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf561988, /127.0.0.1:47136 => /127.0.0.1:39222] FLUSH
17:12:36.244 [nioEventLoopGroup-532-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf561988, /127.0.0.1:47136 => /127.0.0.1:39222] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:39222
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Cookie: biscuit=wafer
Content-Length: 0, 0B
17:12:36.244 [nioEventLoopGroup-532-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39222" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:36.245 [nioEventLoopGroup-532-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39222" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:36.245 [nioEventLoopGroup-532-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39222" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}


17:12:36.245 [nioEventLoopGroup-532-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:39222" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:36.246 [nioEventLoopGroup-532-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf561988, /127.0.0.1:47136 => /127.0.0.1:39222] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 43 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g C</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
17:12:36.246 [nioEventLoopGroup-532-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf561988, /127.0.0.1:47136 => /127.0.0.1:39222] FLUSH
17:12:36.247 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:36.248 [nioEventLoopGroup-532-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8416e792, /127.0.0.1:47138 => /127.0.0.1:39222] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:39222
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:36.249 [nioEventLoopGroup-532-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8416e792, /127.0.0.1:47138 => /127.0.0.1:39222] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.249 [nioEventLoopGroup-532-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8416e792, /127.0.0.1:47138 => /127.0.0.1:39222] FLUSH
17:12:36.249 [nioEventLoopGroup-532-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8416e792, /127.0.0.1:47138 => /127.0.0.1:39222] CLOSE()
17:12:36.249 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.249 [nioEventLoopGroup-546-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-546-1
17:12:36.251 [nioEventLoopGroup-532-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-5
17:12:36.251 [nioEventLoopGroup-532-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-1
17:12:36.251 [nioEventLoopGroup-532-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-3
17:12:36.251 [nioEventLoopGroup-532-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-6
17:12:36.251 [nioEventLoopGroup-532-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-9
17:12:36.251 [nioEventLoopGroup-532-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-8
17:12:36.251 [nioEventLoopGroup-532-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-2
17:12:36.251 [nioEventLoopGroup-532-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-10
17:12:36.251 [nioEventLoopGroup-532-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-11
17:12:36.251 [nioEventLoopGroup-532-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-12
17:12:36.251 [nioEventLoopGroup-532-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-4
17:12:36.251 [nioEventLoopGroup-532-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-13
17:12:36.251 [nioEventLoopGroup-532-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-7
17:12:36.251 [nioEventLoopGroup-532-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf561988, /127.0.0.1:47136 :> /127.0.0.1:39222] INACTIVE
17:12:36.251 [nioEventLoopGroup-532-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbf561988, /127.0.0.1:47136 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.283 [nioEventLoopGroup-516-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf1d4c1bd, /127.0.0.1:52196 :> /127.0.0.1:37914] FLUSH
17:12:36.283 [nioEventLoopGroup-516-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf1d4c1bd, /127.0.0.1:52196 :> /127.0.0.1:37914] INACTIVE
17:12:36.283 [nioEventLoopGroup-516-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf1d4c1bd, /127.0.0.1:52196 :> /127.0.0.1:37914] UNREGISTERED
17:12:36.284 [nioEventLoopGroup-516-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-16
17:12:36.289 [nioEventLoopGroup-500-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-500-14
17:12:36.604 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.605 [MockServer thread for port: 33851] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 33851
17:12:36.608 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded44252, /127.0.0.1:43462 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:36.608 [nioEventLoopGroup-548-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:36.609 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded44252, /127.0.0.1:43462 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.609 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded44252, /127.0.0.1:43462 => /127.0.0.1:33851] FLUSH
17:12:36.609 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.609 [nioEventLoopGroup-549-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-549-1
17:12:36.610 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded44252, /127.0.0.1:43462 => /127.0.0.1:33851] FLUSH
17:12:36.610 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded44252, /127.0.0.1:43462 :> /127.0.0.1:33851] INACTIVE
17:12:36.610 [nioEventLoopGroup-548-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded44252, /127.0.0.1:43462 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.611 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.614 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cdeb22, /127.0.0.1:43464 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:36.616 [nioEventLoopGroup-548-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:36.617 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cdeb22, /127.0.0.1:43464 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.617 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cdeb22, /127.0.0.1:43464 => /127.0.0.1:33851] FLUSH
17:12:36.617 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.618 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cdeb22, /127.0.0.1:43464 => /127.0.0.1:33851] FLUSH
17:12:36.618 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cdeb22, /127.0.0.1:43464 :> /127.0.0.1:33851] INACTIVE
17:12:36.618 [nioEventLoopGroup-548-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cdeb22, /127.0.0.1:43464 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.618 [nioEventLoopGroup-550-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-550-1
17:12:36.619 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.624 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe26a204f, /127.0.0.1:43466 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:36.625 [nioEventLoopGroup-548-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:36.625 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe26a204f, /127.0.0.1:43466 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.625 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe26a204f, /127.0.0.1:43466 => /127.0.0.1:33851] FLUSH
17:12:36.625 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.626 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe26a204f, /127.0.0.1:43466 => /127.0.0.1:33851] FLUSH
17:12:36.626 [nioEventLoopGroup-551-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-551-1
17:12:36.626 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe26a204f, /127.0.0.1:43466 :> /127.0.0.1:33851] INACTIVE
17:12:36.626 [nioEventLoopGroup-548-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe26a204f, /127.0.0.1:43466 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.627 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.629 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ceec25c, /127.0.0.1:43468 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.630 [nioEventLoopGroup-548-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:36.633 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ceec25c, /127.0.0.1:43468 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.634 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ceec25c, /127.0.0.1:43468 => /127.0.0.1:33851] FLUSH
17:12:36.634 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.635 [nioEventLoopGroup-552-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-552-1
17:12:36.635 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ceec25c, /127.0.0.1:43468 => /127.0.0.1:33851] FLUSH
17:12:36.635 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ceec25c, /127.0.0.1:43468 :> /127.0.0.1:33851] INACTIVE
17:12:36.635 [nioEventLoopGroup-548-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ceec25c, /127.0.0.1:43468 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.642 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.644 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1710a34e, /127.0.0.1:43470 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:36.645 [nioEventLoopGroup-548-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:36.649 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1710a34e, /127.0.0.1:43470 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.650 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1710a34e, /127.0.0.1:43470 => /127.0.0.1:33851] FLUSH
17:12:36.650 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.650 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1710a34e, /127.0.0.1:43470 => /127.0.0.1:33851] FLUSH
17:12:36.650 [nioEventLoopGroup-553-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-553-1
17:12:36.651 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1710a34e, /127.0.0.1:43470 :> /127.0.0.1:33851] INACTIVE
17:12:36.651 [nioEventLoopGroup-548-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1710a34e, /127.0.0.1:43470 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.651 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.653 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc0c4d1e, /127.0.0.1:43472 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:36.654 [nioEventLoopGroup-548-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:36.655 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc0c4d1e, /127.0.0.1:43472 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.655 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc0c4d1e, /127.0.0.1:43472 => /127.0.0.1:33851] FLUSH
17:12:36.655 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.656 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc0c4d1e, /127.0.0.1:43472 => /127.0.0.1:33851] FLUSH
17:12:36.656 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc0c4d1e, /127.0.0.1:43472 :> /127.0.0.1:33851] INACTIVE
17:12:36.656 [nioEventLoopGroup-548-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbc0c4d1e, /127.0.0.1:43472 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.656 [nioEventLoopGroup-554-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-554-1
17:12:36.664 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.670 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f1bc6f7, /127.0.0.1:43474 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:36.671 [nioEventLoopGroup-548-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:36.671 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f1bc6f7, /127.0.0.1:43474 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.671 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f1bc6f7, /127.0.0.1:43474 => /127.0.0.1:33851] FLUSH
17:12:36.673 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.674 [nioEventLoopGroup-555-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-555-1
17:12:36.674 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f1bc6f7, /127.0.0.1:43474 => /127.0.0.1:33851] FLUSH
17:12:36.675 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f1bc6f7, /127.0.0.1:43474 :> /127.0.0.1:33851] INACTIVE
17:12:36.675 [nioEventLoopGroup-548-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2f1bc6f7, /127.0.0.1:43474 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.682 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.686 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92e4de87, /127.0.0.1:43476 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.687 [nioEventLoopGroup-548-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:36.688 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92e4de87, /127.0.0.1:43476 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.688 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92e4de87, /127.0.0.1:43476 => /127.0.0.1:33851] FLUSH
17:12:36.689 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.689 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92e4de87, /127.0.0.1:43476 => /127.0.0.1:33851] FLUSH
17:12:36.689 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92e4de87, /127.0.0.1:43476 :> /127.0.0.1:33851] INACTIVE
17:12:36.689 [nioEventLoopGroup-548-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x92e4de87, /127.0.0.1:43476 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.690 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.691 [nioEventLoopGroup-556-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-556-1
17:12:36.693 [nioEventLoopGroup-548-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61de6ff0, /127.0.0.1:43478 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.694 [nioEventLoopGroup-548-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:36.695 [nioEventLoopGroup-548-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61de6ff0, /127.0.0.1:43478 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.695 [nioEventLoopGroup-548-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61de6ff0, /127.0.0.1:43478 => /127.0.0.1:33851] FLUSH
17:12:36.695 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.695 [nioEventLoopGroup-548-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61de6ff0, /127.0.0.1:43478 => /127.0.0.1:33851] FLUSH
17:12:36.695 [nioEventLoopGroup-548-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61de6ff0, /127.0.0.1:43478 :> /127.0.0.1:33851] INACTIVE
17:12:36.695 [nioEventLoopGroup-548-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x61de6ff0, /127.0.0.1:43478 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.695 [nioEventLoopGroup-557-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-557-1
17:12:36.697 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.699 [nioEventLoopGroup-548-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0d63e1a, /127.0.0.1:43480 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.699 [nioEventLoopGroup-548-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:36.700 [nioEventLoopGroup-548-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0d63e1a, /127.0.0.1:43480 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.700 [nioEventLoopGroup-548-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0d63e1a, /127.0.0.1:43480 => /127.0.0.1:33851] FLUSH
17:12:36.700 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.700 [nioEventLoopGroup-548-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0d63e1a, /127.0.0.1:43480 => /127.0.0.1:33851] FLUSH
17:12:36.700 [nioEventLoopGroup-558-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-558-1
17:12:36.700 [nioEventLoopGroup-548-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0d63e1a, /127.0.0.1:43480 :> /127.0.0.1:33851] INACTIVE
17:12:36.700 [nioEventLoopGroup-548-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc0d63e1a, /127.0.0.1:43480 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.701 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.704 [nioEventLoopGroup-548-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd855f673, /127.0.0.1:43482 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:36.705 [nioEventLoopGroup-548-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:36.705 [nioEventLoopGroup-548-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd855f673, /127.0.0.1:43482 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.705 [nioEventLoopGroup-548-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd855f673, /127.0.0.1:43482 => /127.0.0.1:33851] FLUSH
17:12:36.706 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.706 [nioEventLoopGroup-548-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd855f673, /127.0.0.1:43482 => /127.0.0.1:33851] FLUSH
17:12:36.706 [nioEventLoopGroup-559-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-559-1
17:12:36.706 [nioEventLoopGroup-548-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd855f673, /127.0.0.1:43482 :> /127.0.0.1:33851] INACTIVE
17:12:36.706 [nioEventLoopGroup-548-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd855f673, /127.0.0.1:43482 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.707 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.710 [nioEventLoopGroup-548-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4234668, /127.0.0.1:43484 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:36.710 [nioEventLoopGroup-548-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:36.711 [nioEventLoopGroup-548-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4234668, /127.0.0.1:43484 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.711 [nioEventLoopGroup-548-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4234668, /127.0.0.1:43484 => /127.0.0.1:33851] FLUSH
17:12:36.711 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.711 [nioEventLoopGroup-548-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4234668, /127.0.0.1:43484 => /127.0.0.1:33851] FLUSH
17:12:36.711 [nioEventLoopGroup-560-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-560-1
17:12:36.711 [nioEventLoopGroup-548-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4234668, /127.0.0.1:43484 :> /127.0.0.1:33851] INACTIVE
17:12:36.711 [nioEventLoopGroup-548-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa4234668, /127.0.0.1:43484 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.712 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:36.715 [nioEventLoopGroup-548-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a6b461a, /127.0.0.1:43486 => /127.0.0.1:33851] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:36.716 [nioEventLoopGroup-548-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:36.717 [nioEventLoopGroup-548-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a6b461a, /127.0.0.1:43486 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.717 [nioEventLoopGroup-548-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a6b461a, /127.0.0.1:43486 => /127.0.0.1:33851] FLUSH
17:12:36.717 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.718 [nioEventLoopGroup-561-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-561-1
17:12:36.718 [nioEventLoopGroup-548-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a6b461a, /127.0.0.1:43486 => /127.0.0.1:33851] FLUSH
17:12:36.718 [nioEventLoopGroup-548-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a6b461a, /127.0.0.1:43486 :> /127.0.0.1:33851] INACTIVE
17:12:36.718 [nioEventLoopGroup-548-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a6b461a, /127.0.0.1:43486 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.734 [nioEventLoopGroup-548-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4683b0f, /127.0.0.1:43488 => /127.0.0.1:33851] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo?alpha=bravo HTTP/1.1
Host: localhost:33851
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:36.734 [nioEventLoopGroup-548-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:33851" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:36.735 [nioEventLoopGroup-548-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:33851" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}


17:12:36.735 [nioEventLoopGroup-548-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:33851" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:36.735 [nioEventLoopGroup-548-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4683b0f, /127.0.0.1:43488 => /127.0.0.1:33851] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g B</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
17:12:36.735 [nioEventLoopGroup-548-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4683b0f, /127.0.0.1:43488 => /127.0.0.1:33851] FLUSH
17:12:36.740 [nioEventLoopGroup-548-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf85a6fd, /127.0.0.1:43490 => /127.0.0.1:33851] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo?alpha=bravo HTTP/1.1
Host: localhost:33851
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:36.741 [nioEventLoopGroup-548-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:33851" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:36.741 [nioEventLoopGroup-548-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:33851" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}


17:12:36.742 [nioEventLoopGroup-548-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:33851" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:36.742 [nioEventLoopGroup-548-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf85a6fd, /127.0.0.1:43490 => /127.0.0.1:33851] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g B</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
17:12:36.742 [nioEventLoopGroup-548-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf85a6fd, /127.0.0.1:43490 => /127.0.0.1:33851] FLUSH
17:12:36.743 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:36.746 [nioEventLoopGroup-548-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc22a09e2, /127.0.0.1:43492 => /127.0.0.1:33851] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:33851
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:36.746 [nioEventLoopGroup-548-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc22a09e2, /127.0.0.1:43492 => /127.0.0.1:33851] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:36.746 [nioEventLoopGroup-548-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc22a09e2, /127.0.0.1:43492 => /127.0.0.1:33851] FLUSH
17:12:36.747 [nioEventLoopGroup-548-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc22a09e2, /127.0.0.1:43492 => /127.0.0.1:33851] CLOSE()
17:12:36.747 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:36.747 [nioEventLoopGroup-562-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-562-1
17:12:36.749 [nioEventLoopGroup-548-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-1
17:12:36.749 [nioEventLoopGroup-548-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-5
17:12:36.749 [nioEventLoopGroup-548-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-6
17:12:36.749 [nioEventLoopGroup-548-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-3
17:12:36.749 [nioEventLoopGroup-548-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-9
17:12:36.749 [nioEventLoopGroup-548-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-8
17:12:36.749 [nioEventLoopGroup-548-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-7
17:12:36.749 [nioEventLoopGroup-548-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-4
17:12:36.749 [nioEventLoopGroup-548-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-10
17:12:36.750 [nioEventLoopGroup-548-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-11
17:12:36.750 [nioEventLoopGroup-548-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-2
17:12:36.750 [nioEventLoopGroup-548-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-12
17:12:36.750 [nioEventLoopGroup-548-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-13
17:12:36.750 [nioEventLoopGroup-548-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4683b0f, /127.0.0.1:43488 :> /127.0.0.1:33851] INACTIVE
17:12:36.750 [nioEventLoopGroup-548-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf85a6fd, /127.0.0.1:43490 :> /127.0.0.1:33851] INACTIVE
17:12:36.750 [nioEventLoopGroup-548-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc4683b0f, /127.0.0.1:43488 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.750 [nioEventLoopGroup-548-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdf85a6fd, /127.0.0.1:43490 :> /127.0.0.1:33851] UNREGISTERED
17:12:36.751 [nioEventLoopGroup-532-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8416e792, /127.0.0.1:47138 :> /127.0.0.1:39222] FLUSH
17:12:36.751 [nioEventLoopGroup-532-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8416e792, /127.0.0.1:47138 :> /127.0.0.1:39222] INACTIVE
17:12:36.751 [nioEventLoopGroup-532-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8416e792, /127.0.0.1:47138 :> /127.0.0.1:39222] UNREGISTERED
17:12:36.751 [nioEventLoopGroup-532-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-15
17:12:36.793 [nioEventLoopGroup-516-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-15
17:12:36.793 [nioEventLoopGroup-516-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-516-14
17:12:37.101 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.103 [MockServer thread for port: 41649] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 41649
17:12:37.105 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c59a57e, /127.0.0.1:40814 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:37.106 [nioEventLoopGroup-564-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:37.106 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c59a57e, /127.0.0.1:40814 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.106 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c59a57e, /127.0.0.1:40814 => /127.0.0.1:41649] FLUSH
17:12:37.107 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.107 [nioEventLoopGroup-565-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-565-1
17:12:37.107 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c59a57e, /127.0.0.1:40814 => /127.0.0.1:41649] FLUSH
17:12:37.107 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c59a57e, /127.0.0.1:40814 :> /127.0.0.1:41649] INACTIVE
17:12:37.107 [nioEventLoopGroup-564-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7c59a57e, /127.0.0.1:40814 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.110 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.114 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb836a969, /127.0.0.1:40816 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:37.115 [nioEventLoopGroup-564-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:37.115 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb836a969, /127.0.0.1:40816 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.116 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb836a969, /127.0.0.1:40816 => /127.0.0.1:41649] FLUSH
17:12:37.116 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.116 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb836a969, /127.0.0.1:40816 => /127.0.0.1:41649] FLUSH
17:12:37.117 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb836a969, /127.0.0.1:40816 :> /127.0.0.1:41649] INACTIVE
17:12:37.117 [nioEventLoopGroup-564-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb836a969, /127.0.0.1:40816 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.117 [nioEventLoopGroup-566-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-566-1
17:12:37.118 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.120 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f25ffb0, /127.0.0.1:40818 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:37.122 [nioEventLoopGroup-564-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:37.123 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f25ffb0, /127.0.0.1:40818 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.123 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f25ffb0, /127.0.0.1:40818 => /127.0.0.1:41649] FLUSH
17:12:37.123 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.123 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f25ffb0, /127.0.0.1:40818 => /127.0.0.1:41649] FLUSH
17:12:37.123 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f25ffb0, /127.0.0.1:40818 :> /127.0.0.1:41649] INACTIVE
17:12:37.123 [nioEventLoopGroup-564-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7f25ffb0, /127.0.0.1:40818 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.123 [nioEventLoopGroup-567-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-567-1
17:12:37.124 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.127 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e6f96c, /127.0.0.1:40820 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.128 [nioEventLoopGroup-564-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:37.128 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e6f96c, /127.0.0.1:40820 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.128 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e6f96c, /127.0.0.1:40820 => /127.0.0.1:41649] FLUSH
17:12:37.129 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.129 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e6f96c, /127.0.0.1:40820 => /127.0.0.1:41649] FLUSH
17:12:37.130 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e6f96c, /127.0.0.1:40820 :> /127.0.0.1:41649] INACTIVE
17:12:37.130 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.131 [nioEventLoopGroup-564-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x24e6f96c, /127.0.0.1:40820 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.132 [nioEventLoopGroup-568-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-568-1
17:12:37.134 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6be54d3f, /127.0.0.1:40822 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:37.137 [nioEventLoopGroup-564-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:37.138 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6be54d3f, /127.0.0.1:40822 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.139 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6be54d3f, /127.0.0.1:40822 => /127.0.0.1:41649] FLUSH
17:12:37.139 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.139 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6be54d3f, /127.0.0.1:40822 => /127.0.0.1:41649] FLUSH
17:12:37.139 [nioEventLoopGroup-569-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-569-1
17:12:37.139 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6be54d3f, /127.0.0.1:40822 :> /127.0.0.1:41649] INACTIVE
17:12:37.140 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.142 [nioEventLoopGroup-564-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6be54d3f, /127.0.0.1:40822 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.145 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7507186a, /127.0.0.1:40824 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:37.146 [nioEventLoopGroup-564-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:37.146 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7507186a, /127.0.0.1:40824 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.146 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7507186a, /127.0.0.1:40824 => /127.0.0.1:41649] FLUSH
17:12:37.146 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.147 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7507186a, /127.0.0.1:40824 => /127.0.0.1:41649] FLUSH
17:12:37.147 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7507186a, /127.0.0.1:40824 :> /127.0.0.1:41649] INACTIVE
17:12:37.147 [nioEventLoopGroup-564-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7507186a, /127.0.0.1:40824 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.147 [nioEventLoopGroup-570-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-570-1
17:12:37.150 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.153 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49b25cfb, /127.0.0.1:40826 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:37.153 [nioEventLoopGroup-564-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:37.154 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49b25cfb, /127.0.0.1:40826 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.154 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49b25cfb, /127.0.0.1:40826 => /127.0.0.1:41649] FLUSH
17:12:37.154 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.154 [nioEventLoopGroup-571-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-571-1
17:12:37.154 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49b25cfb, /127.0.0.1:40826 => /127.0.0.1:41649] FLUSH
17:12:37.154 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49b25cfb, /127.0.0.1:40826 :> /127.0.0.1:41649] INACTIVE
17:12:37.155 [nioEventLoopGroup-564-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x49b25cfb, /127.0.0.1:40826 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.155 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.158 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabd775f4, /127.0.0.1:40828 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.159 [nioEventLoopGroup-564-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:37.159 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabd775f4, /127.0.0.1:40828 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.159 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabd775f4, /127.0.0.1:40828 => /127.0.0.1:41649] FLUSH
17:12:37.159 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.160 [nioEventLoopGroup-572-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-572-1
17:12:37.160 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabd775f4, /127.0.0.1:40828 => /127.0.0.1:41649] FLUSH
17:12:37.160 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabd775f4, /127.0.0.1:40828 :> /127.0.0.1:41649] INACTIVE
17:12:37.160 [nioEventLoopGroup-564-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xabd775f4, /127.0.0.1:40828 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.160 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.163 [nioEventLoopGroup-564-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2100288b, /127.0.0.1:40830 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.164 [nioEventLoopGroup-564-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:37.164 [nioEventLoopGroup-564-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2100288b, /127.0.0.1:40830 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.165 [nioEventLoopGroup-564-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2100288b, /127.0.0.1:40830 => /127.0.0.1:41649] FLUSH
17:12:37.165 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.165 [nioEventLoopGroup-564-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2100288b, /127.0.0.1:40830 => /127.0.0.1:41649] FLUSH
17:12:37.165 [nioEventLoopGroup-564-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2100288b, /127.0.0.1:40830 :> /127.0.0.1:41649] INACTIVE
17:12:37.165 [nioEventLoopGroup-564-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2100288b, /127.0.0.1:40830 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.166 [nioEventLoopGroup-573-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-573-1
17:12:37.170 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.173 [nioEventLoopGroup-564-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c671fd, /127.0.0.1:40832 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.174 [nioEventLoopGroup-564-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:37.175 [nioEventLoopGroup-564-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c671fd, /127.0.0.1:40832 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.175 [nioEventLoopGroup-564-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c671fd, /127.0.0.1:40832 => /127.0.0.1:41649] FLUSH
17:12:37.176 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.176 [nioEventLoopGroup-564-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c671fd, /127.0.0.1:40832 => /127.0.0.1:41649] FLUSH
17:12:37.176 [nioEventLoopGroup-564-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c671fd, /127.0.0.1:40832 :> /127.0.0.1:41649] INACTIVE
17:12:37.176 [nioEventLoopGroup-564-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x80c671fd, /127.0.0.1:40832 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.176 [nioEventLoopGroup-574-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-574-1
17:12:37.178 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.182 [nioEventLoopGroup-564-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d95038d, /127.0.0.1:40834 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.183 [nioEventLoopGroup-564-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:37.184 [nioEventLoopGroup-564-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d95038d, /127.0.0.1:40834 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.184 [nioEventLoopGroup-564-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d95038d, /127.0.0.1:40834 => /127.0.0.1:41649] FLUSH
17:12:37.184 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.185 [nioEventLoopGroup-564-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d95038d, /127.0.0.1:40834 => /127.0.0.1:41649] FLUSH
17:12:37.185 [nioEventLoopGroup-564-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d95038d, /127.0.0.1:40834 :> /127.0.0.1:41649] INACTIVE
17:12:37.185 [nioEventLoopGroup-564-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7d95038d, /127.0.0.1:40834 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.185 [nioEventLoopGroup-575-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-575-1
17:12:37.186 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.189 [nioEventLoopGroup-564-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cce1a9c, /127.0.0.1:40836 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:37.191 [nioEventLoopGroup-564-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:37.192 [nioEventLoopGroup-564-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cce1a9c, /127.0.0.1:40836 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.193 [nioEventLoopGroup-564-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cce1a9c, /127.0.0.1:40836 => /127.0.0.1:41649] FLUSH
17:12:37.193 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.193 [nioEventLoopGroup-564-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cce1a9c, /127.0.0.1:40836 => /127.0.0.1:41649] FLUSH
17:12:37.193 [nioEventLoopGroup-564-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cce1a9c, /127.0.0.1:40836 :> /127.0.0.1:41649] INACTIVE
17:12:37.193 [nioEventLoopGroup-564-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x7cce1a9c, /127.0.0.1:40836 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.194 [nioEventLoopGroup-576-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-576-1
17:12:37.195 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.197 [nioEventLoopGroup-564-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce71901, /127.0.0.1:40838 => /127.0.0.1:41649] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:37.200 [nioEventLoopGroup-564-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:37.202 [nioEventLoopGroup-564-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce71901, /127.0.0.1:40838 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.202 [nioEventLoopGroup-564-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce71901, /127.0.0.1:40838 => /127.0.0.1:41649] FLUSH
17:12:37.202 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.202 [nioEventLoopGroup-564-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce71901, /127.0.0.1:40838 => /127.0.0.1:41649] FLUSH
17:12:37.203 [nioEventLoopGroup-564-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce71901, /127.0.0.1:40838 :> /127.0.0.1:41649] INACTIVE
17:12:37.203 [nioEventLoopGroup-577-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-577-1
17:12:37.210 [nioEventLoopGroup-564-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1ce71901, /127.0.0.1:40838 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.211 [nioEventLoopGroup-564-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70c9820f, /127.0.0.1:40840 => /127.0.0.1:41649] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo?alpha=bravo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:41649
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Cookie: biscuit=wafer
Content-Length: 0, 0B
17:12:37.212 [nioEventLoopGroup-564-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:41649" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.214 [nioEventLoopGroup-564-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:41649" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}


17:12:37.214 [nioEventLoopGroup-564-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:41649" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:37.215 [nioEventLoopGroup-564-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70c9820f, /127.0.0.1:40840 => /127.0.0.1:41649] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g B</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
17:12:37.215 [nioEventLoopGroup-564-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70c9820f, /127.0.0.1:40840 => /127.0.0.1:41649] FLUSH
17:12:37.218 [nioEventLoopGroup-564-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70c9820f, /127.0.0.1:40840 => /127.0.0.1:41649] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /foo?alpha=bravo HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:41649
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Cookie: biscuit=wafer
Content-Length: 0, 0B
17:12:37.218 [nioEventLoopGroup-564-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:41649" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.219 [nioEventLoopGroup-564-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:41649" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}


17:12:37.219 [nioEventLoopGroup-564-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ],
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:41649" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Cookie",
	    "values" : [ "biscuit=wafer" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:37.220 [nioEventLoopGroup-564-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70c9820f, /127.0.0.1:40840 => /127.0.0.1:41649] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 113, cap: 113/113))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 113
Connection: keep-alive, 113B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e |o miss -->Testin|
|00000060| 67 20 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c |g B</body></html|
|00000070| 3e                                              |>               |
+--------+-------------------------------------------------+----------------+
17:12:37.220 [nioEventLoopGroup-564-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70c9820f, /127.0.0.1:40840 => /127.0.0.1:41649] FLUSH
17:12:37.221 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:37.223 [nioEventLoopGroup-564-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xddf8dae7, /127.0.0.1:40842 => /127.0.0.1:41649] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:41649
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:37.223 [nioEventLoopGroup-564-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xddf8dae7, /127.0.0.1:40842 => /127.0.0.1:41649] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.223 [nioEventLoopGroup-564-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xddf8dae7, /127.0.0.1:40842 => /127.0.0.1:41649] FLUSH
17:12:37.223 [nioEventLoopGroup-564-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xddf8dae7, /127.0.0.1:40842 => /127.0.0.1:41649] CLOSE()
17:12:37.224 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.224 [nioEventLoopGroup-578-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-578-1
17:12:37.235 [nioEventLoopGroup-564-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-4
17:12:37.235 [nioEventLoopGroup-564-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-3
17:12:37.235 [nioEventLoopGroup-564-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-1
17:12:37.235 [nioEventLoopGroup-564-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-2
17:12:37.235 [nioEventLoopGroup-564-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-7
17:12:37.235 [nioEventLoopGroup-564-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-6
17:12:37.235 [nioEventLoopGroup-564-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-8
17:12:37.235 [nioEventLoopGroup-564-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-10
17:12:37.235 [nioEventLoopGroup-564-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-12
17:12:37.235 [nioEventLoopGroup-564-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-5
17:12:37.235 [nioEventLoopGroup-564-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-9
17:12:37.235 [nioEventLoopGroup-564-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70c9820f, /127.0.0.1:40840 :> /127.0.0.1:41649] INACTIVE
17:12:37.235 [nioEventLoopGroup-564-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-11
17:12:37.235 [nioEventLoopGroup-564-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-13
17:12:37.236 [nioEventLoopGroup-564-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x70c9820f, /127.0.0.1:40840 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.250 [nioEventLoopGroup-548-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc22a09e2, /127.0.0.1:43492 :> /127.0.0.1:33851] FLUSH
17:12:37.250 [nioEventLoopGroup-548-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc22a09e2, /127.0.0.1:43492 :> /127.0.0.1:33851] INACTIVE
17:12:37.250 [nioEventLoopGroup-548-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc22a09e2, /127.0.0.1:43492 :> /127.0.0.1:33851] UNREGISTERED
17:12:37.250 [nioEventLoopGroup-548-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-16
17:12:37.252 [nioEventLoopGroup-532-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-532-14
17:12:37.588 [MockServer thread for port: 34335] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 34335
17:12:37.588 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.591 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9f05efb, /127.0.0.1:40498 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:37.592 [nioEventLoopGroup-580-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:37.593 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9f05efb, /127.0.0.1:40498 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.593 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9f05efb, /127.0.0.1:40498 => /127.0.0.1:34335] FLUSH
17:12:37.593 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.593 [nioEventLoopGroup-581-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-581-1
17:12:37.595 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9f05efb, /127.0.0.1:40498 => /127.0.0.1:34335] FLUSH
17:12:37.595 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9f05efb, /127.0.0.1:40498 :> /127.0.0.1:34335] INACTIVE
17:12:37.595 [nioEventLoopGroup-580-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd9f05efb, /127.0.0.1:40498 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.595 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.597 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x450aac13, /127.0.0.1:40500 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:37.598 [nioEventLoopGroup-580-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:37.599 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x450aac13, /127.0.0.1:40500 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.599 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x450aac13, /127.0.0.1:40500 => /127.0.0.1:34335] FLUSH
17:12:37.599 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.599 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x450aac13, /127.0.0.1:40500 => /127.0.0.1:34335] FLUSH
17:12:37.599 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x450aac13, /127.0.0.1:40500 :> /127.0.0.1:34335] INACTIVE
17:12:37.599 [nioEventLoopGroup-582-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-582-1
17:12:37.599 [nioEventLoopGroup-580-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x450aac13, /127.0.0.1:40500 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.601 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.603 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6ab429d7, /127.0.0.1:40502 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:37.604 [nioEventLoopGroup-580-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:37.605 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6ab429d7, /127.0.0.1:40502 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.605 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6ab429d7, /127.0.0.1:40502 => /127.0.0.1:34335] FLUSH
17:12:37.605 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.605 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6ab429d7, /127.0.0.1:40502 => /127.0.0.1:34335] FLUSH
17:12:37.605 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6ab429d7, /127.0.0.1:40502 :> /127.0.0.1:34335] INACTIVE
17:12:37.605 [nioEventLoopGroup-580-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6ab429d7, /127.0.0.1:40502 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.605 [nioEventLoopGroup-583-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-583-1
17:12:37.606 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.608 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeffeff19, /127.0.0.1:40504 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.609 [nioEventLoopGroup-580-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:37.609 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeffeff19, /127.0.0.1:40504 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.609 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeffeff19, /127.0.0.1:40504 => /127.0.0.1:34335] FLUSH
17:12:37.609 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.609 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeffeff19, /127.0.0.1:40504 => /127.0.0.1:34335] FLUSH
17:12:37.609 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeffeff19, /127.0.0.1:40504 :> /127.0.0.1:34335] INACTIVE
17:12:37.609 [nioEventLoopGroup-580-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xeffeff19, /127.0.0.1:40504 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.609 [nioEventLoopGroup-584-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-584-1
17:12:37.610 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.612 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb38c0d6a, /127.0.0.1:40506 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:37.613 [nioEventLoopGroup-580-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:37.614 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb38c0d6a, /127.0.0.1:40506 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.614 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb38c0d6a, /127.0.0.1:40506 => /127.0.0.1:34335] FLUSH
17:12:37.614 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.614 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb38c0d6a, /127.0.0.1:40506 => /127.0.0.1:34335] FLUSH
17:12:37.614 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb38c0d6a, /127.0.0.1:40506 :> /127.0.0.1:34335] INACTIVE
17:12:37.614 [nioEventLoopGroup-580-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb38c0d6a, /127.0.0.1:40506 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.614 [nioEventLoopGroup-585-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-585-1
17:12:37.622 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.627 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3099bdb, /127.0.0.1:40508 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:37.628 [nioEventLoopGroup-580-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:37.628 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3099bdb, /127.0.0.1:40508 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.629 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3099bdb, /127.0.0.1:40508 => /127.0.0.1:34335] FLUSH
17:12:37.629 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.629 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3099bdb, /127.0.0.1:40508 => /127.0.0.1:34335] FLUSH
17:12:37.629 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3099bdb, /127.0.0.1:40508 :> /127.0.0.1:34335] INACTIVE
17:12:37.629 [nioEventLoopGroup-580-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd3099bdb, /127.0.0.1:40508 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.630 [nioEventLoopGroup-586-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-586-1
17:12:37.631 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.636 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa05f3456, /127.0.0.1:40510 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:37.637 [nioEventLoopGroup-580-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:37.638 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa05f3456, /127.0.0.1:40510 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.638 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa05f3456, /127.0.0.1:40510 => /127.0.0.1:34335] FLUSH
17:12:37.638 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.639 [nioEventLoopGroup-587-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-587-1
17:12:37.639 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa05f3456, /127.0.0.1:40510 => /127.0.0.1:34335] FLUSH
17:12:37.639 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa05f3456, /127.0.0.1:40510 :> /127.0.0.1:34335] INACTIVE
17:12:37.639 [nioEventLoopGroup-580-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa05f3456, /127.0.0.1:40510 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.640 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.645 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1bcbec8, /127.0.0.1:40512 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.646 [nioEventLoopGroup-580-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:37.646 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1bcbec8, /127.0.0.1:40512 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.646 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1bcbec8, /127.0.0.1:40512 => /127.0.0.1:34335] FLUSH
17:12:37.646 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.647 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1bcbec8, /127.0.0.1:40512 => /127.0.0.1:34335] FLUSH
17:12:37.647 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1bcbec8, /127.0.0.1:40512 :> /127.0.0.1:34335] INACTIVE
17:12:37.647 [nioEventLoopGroup-580-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1bcbec8, /127.0.0.1:40512 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.647 [nioEventLoopGroup-588-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-588-1
17:12:37.652 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.659 [nioEventLoopGroup-580-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd284aa7, /127.0.0.1:40514 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.661 [nioEventLoopGroup-580-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:37.662 [nioEventLoopGroup-580-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd284aa7, /127.0.0.1:40514 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.662 [nioEventLoopGroup-580-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd284aa7, /127.0.0.1:40514 => /127.0.0.1:34335] FLUSH
17:12:37.663 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.663 [nioEventLoopGroup-580-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd284aa7, /127.0.0.1:40514 => /127.0.0.1:34335] FLUSH
17:12:37.663 [nioEventLoopGroup-580-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd284aa7, /127.0.0.1:40514 :> /127.0.0.1:34335] INACTIVE
17:12:37.663 [nioEventLoopGroup-580-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbd284aa7, /127.0.0.1:40514 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.663 [nioEventLoopGroup-589-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-589-1
17:12:37.666 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.670 [nioEventLoopGroup-580-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54b0fe9f, /127.0.0.1:40516 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.671 [nioEventLoopGroup-580-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:37.671 [nioEventLoopGroup-580-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54b0fe9f, /127.0.0.1:40516 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.671 [nioEventLoopGroup-580-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54b0fe9f, /127.0.0.1:40516 => /127.0.0.1:34335] FLUSH
17:12:37.672 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.672 [nioEventLoopGroup-580-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54b0fe9f, /127.0.0.1:40516 => /127.0.0.1:34335] FLUSH
17:12:37.672 [nioEventLoopGroup-580-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54b0fe9f, /127.0.0.1:40516 :> /127.0.0.1:34335] INACTIVE
17:12:37.672 [nioEventLoopGroup-580-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x54b0fe9f, /127.0.0.1:40516 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.673 [nioEventLoopGroup-590-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-590-1
17:12:37.673 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.700 [nioEventLoopGroup-580-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bbc1f6c, /127.0.0.1:40518 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:37.701 [nioEventLoopGroup-580-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:37.701 [nioEventLoopGroup-580-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bbc1f6c, /127.0.0.1:40518 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.701 [nioEventLoopGroup-580-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bbc1f6c, /127.0.0.1:40518 => /127.0.0.1:34335] FLUSH
17:12:37.702 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.702 [nioEventLoopGroup-580-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bbc1f6c, /127.0.0.1:40518 => /127.0.0.1:34335] FLUSH
17:12:37.702 [nioEventLoopGroup-580-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bbc1f6c, /127.0.0.1:40518 :> /127.0.0.1:34335] INACTIVE
17:12:37.702 [nioEventLoopGroup-580-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3bbc1f6c, /127.0.0.1:40518 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.702 [nioEventLoopGroup-591-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-591-1
17:12:37.706 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.710 [nioEventLoopGroup-580-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1cd5a24, /127.0.0.1:40520 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:37.711 [nioEventLoopGroup-580-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:37.711 [nioEventLoopGroup-580-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1cd5a24, /127.0.0.1:40520 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.712 [nioEventLoopGroup-580-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1cd5a24, /127.0.0.1:40520 => /127.0.0.1:34335] FLUSH
17:12:37.712 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.712 [nioEventLoopGroup-592-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-592-1
17:12:37.714 [nioEventLoopGroup-580-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1cd5a24, /127.0.0.1:40520 => /127.0.0.1:34335] FLUSH
17:12:37.714 [nioEventLoopGroup-580-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1cd5a24, /127.0.0.1:40520 :> /127.0.0.1:34335] INACTIVE
17:12:37.714 [nioEventLoopGroup-580-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb1cd5a24, /127.0.0.1:40520 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.715 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:37.718 [nioEventLoopGroup-580-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d604b88, /127.0.0.1:40522 => /127.0.0.1:34335] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:37.719 [nioEventLoopGroup-580-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:37.720 [nioEventLoopGroup-580-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d604b88, /127.0.0.1:40522 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.720 [nioEventLoopGroup-580-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d604b88, /127.0.0.1:40522 => /127.0.0.1:34335] FLUSH
17:12:37.720 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.721 [nioEventLoopGroup-580-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d604b88, /127.0.0.1:40522 => /127.0.0.1:34335] FLUSH
17:12:37.721 [nioEventLoopGroup-580-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d604b88, /127.0.0.1:40522 :> /127.0.0.1:34335] INACTIVE
17:12:37.721 [nioEventLoopGroup-580-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d604b88, /127.0.0.1:40522 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.721 [nioEventLoopGroup-593-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-593-1
17:12:37.735 [nioEventLoopGroup-564-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xddf8dae7, /127.0.0.1:40842 :> /127.0.0.1:41649] FLUSH
17:12:37.735 [nioEventLoopGroup-564-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xddf8dae7, /127.0.0.1:40842 :> /127.0.0.1:41649] INACTIVE
17:12:37.735 [nioEventLoopGroup-564-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xddf8dae7, /127.0.0.1:40842 :> /127.0.0.1:41649] UNREGISTERED
17:12:37.736 [nioEventLoopGroup-564-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-15
17:12:37.739 [nioEventLoopGroup-580-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d15ed10, /127.0.0.1:40524 => /127.0.0.1:34335] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Host: localhost:34335
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:37.740 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.740 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.740 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:37.740 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.745 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.746 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.746 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.747 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.747 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.748 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.748 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.749 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


17:12:37.749 [nioEventLoopGroup-580-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 401,
	  "headers" : [ {
	    "name" : "WWW-Authenticate",
	    "values" : [ "Basic realm=\"Test Realm\"" ]
	  } ]
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:37.750 [nioEventLoopGroup-580-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d15ed10, /127.0.0.1:40524 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="Test Realm"
Content-Length: 0
Connection: keep-alive, 0B
17:12:37.750 [nioEventLoopGroup-580-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d15ed10, /127.0.0.1:40524 => /127.0.0.1:34335] FLUSH
17:12:37.751 [nioEventLoopGroup-548-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-14
17:12:37.752 [nioEventLoopGroup-548-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-548-15
17:12:37.770 [nioEventLoopGroup-580-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d15ed10, /127.0.0.1:40524 => /127.0.0.1:34335] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Host: localhost:34335
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Authorization: Basic YWRtaW46JDNjcjN0
Content-Length: 0, 0B
17:12:37.771 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.771 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.772 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:37.772 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.772 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.773 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.773 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.773 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.774 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.774 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.774 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.775 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = false
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.775 [nioEventLoopGroup-580-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


17:12:37.776 [nioEventLoopGroup-580-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:37.776 [nioEventLoopGroup-580-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d15ed10, /127.0.0.1:40524 => /127.0.0.1:34335] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:37.776 [nioEventLoopGroup-580-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d15ed10, /127.0.0.1:40524 => /127.0.0.1:34335] FLUSH
17:12:37.792 [nioEventLoopGroup-580-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1624f1c9, /127.0.0.1:40526 => /127.0.0.1:34335] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Host: localhost:34335
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:37.793 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.794 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.794 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:37.794 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.795 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.795 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.796 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.796 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.796 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.797 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.797 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.798 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


17:12:37.798 [nioEventLoopGroup-580-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 401,
	  "headers" : [ {
	    "name" : "WWW-Authenticate",
	    "values" : [ "Basic realm=\"Test Realm\"" ]
	  } ]
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:37.798 [nioEventLoopGroup-580-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1624f1c9, /127.0.0.1:40526 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="Test Realm"
Content-Length: 0
Connection: keep-alive, 0B
17:12:37.799 [nioEventLoopGroup-580-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1624f1c9, /127.0.0.1:40526 => /127.0.0.1:34335] FLUSH
17:12:37.800 [nioEventLoopGroup-580-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1624f1c9, /127.0.0.1:40526 => /127.0.0.1:34335] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Host: localhost:34335
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Authorization: Basic YWRtaW46JDNjcjN0
Content-Length: 0, 0B
17:12:37.800 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.801 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.801 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:37.802 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.802 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.802 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.802 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.803 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.803 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.803 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.803 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.804 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = false
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:37.804 [nioEventLoopGroup-580-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


17:12:37.806 [nioEventLoopGroup-580-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:34335" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:37.806 [nioEventLoopGroup-580-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1624f1c9, /127.0.0.1:40526 => /127.0.0.1:34335] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:37.807 [nioEventLoopGroup-580-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1624f1c9, /127.0.0.1:40526 => /127.0.0.1:34335] FLUSH
17:12:37.808 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:37.811 [nioEventLoopGroup-580-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd17c8048, /127.0.0.1:40528 => /127.0.0.1:34335] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:34335
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:37.812 [nioEventLoopGroup-580-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd17c8048, /127.0.0.1:40528 => /127.0.0.1:34335] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:37.812 [nioEventLoopGroup-580-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd17c8048, /127.0.0.1:40528 => /127.0.0.1:34335] FLUSH
17:12:37.812 [nioEventLoopGroup-580-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd17c8048, /127.0.0.1:40528 => /127.0.0.1:34335] CLOSE()
17:12:37.812 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:37.812 [nioEventLoopGroup-594-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-594-1
17:12:37.814 [nioEventLoopGroup-580-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-2
17:12:37.814 [nioEventLoopGroup-580-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-4
17:12:37.814 [nioEventLoopGroup-580-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-1
17:12:37.814 [nioEventLoopGroup-580-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-6
17:12:37.814 [nioEventLoopGroup-580-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-9
17:12:37.814 [nioEventLoopGroup-580-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-5
17:12:37.814 [nioEventLoopGroup-580-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-3
17:12:37.814 [nioEventLoopGroup-580-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-7
17:12:37.814 [nioEventLoopGroup-580-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-10
17:12:37.814 [nioEventLoopGroup-580-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-8
17:12:37.814 [nioEventLoopGroup-580-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-11
17:12:37.814 [nioEventLoopGroup-580-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d15ed10, /127.0.0.1:40524 :> /127.0.0.1:34335] INACTIVE
17:12:37.814 [nioEventLoopGroup-580-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-12
17:12:37.814 [nioEventLoopGroup-580-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-13
17:12:37.814 [nioEventLoopGroup-580-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1624f1c9, /127.0.0.1:40526 :> /127.0.0.1:34335] INACTIVE
17:12:37.816 [nioEventLoopGroup-580-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9d15ed10, /127.0.0.1:40524 :> /127.0.0.1:34335] UNREGISTERED
17:12:37.816 [nioEventLoopGroup-580-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1624f1c9, /127.0.0.1:40526 :> /127.0.0.1:34335] UNREGISTERED
17:12:38.167 [MockServer thread for port: 34173] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 34173
17:12:38.167 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.169 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9c2f103, /127.0.0.1:42042 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:38.170 [nioEventLoopGroup-596-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:38.170 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9c2f103, /127.0.0.1:42042 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.170 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9c2f103, /127.0.0.1:42042 => /127.0.0.1:34173] FLUSH
17:12:38.170 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.170 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9c2f103, /127.0.0.1:42042 => /127.0.0.1:34173] FLUSH
17:12:38.170 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9c2f103, /127.0.0.1:42042 :> /127.0.0.1:34173] INACTIVE
17:12:38.170 [nioEventLoopGroup-597-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-597-1
17:12:38.170 [nioEventLoopGroup-596-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9c2f103, /127.0.0.1:42042 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.171 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.172 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a0267ed, /127.0.0.1:42044 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:38.173 [nioEventLoopGroup-596-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:38.173 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a0267ed, /127.0.0.1:42044 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.173 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a0267ed, /127.0.0.1:42044 => /127.0.0.1:34173] FLUSH
17:12:38.174 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.174 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a0267ed, /127.0.0.1:42044 => /127.0.0.1:34173] FLUSH
17:12:38.174 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a0267ed, /127.0.0.1:42044 :> /127.0.0.1:34173] INACTIVE
17:12:38.174 [nioEventLoopGroup-598-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-598-1
17:12:38.174 [nioEventLoopGroup-596-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1a0267ed, /127.0.0.1:42044 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.175 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.178 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cebd1f, /127.0.0.1:42046 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:38.179 [nioEventLoopGroup-596-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:38.179 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cebd1f, /127.0.0.1:42046 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.179 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cebd1f, /127.0.0.1:42046 => /127.0.0.1:34173] FLUSH
17:12:38.179 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.179 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cebd1f, /127.0.0.1:42046 => /127.0.0.1:34173] FLUSH
17:12:38.179 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cebd1f, /127.0.0.1:42046 :> /127.0.0.1:34173] INACTIVE
17:12:38.179 [nioEventLoopGroup-596-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x87cebd1f, /127.0.0.1:42046 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.179 [nioEventLoopGroup-599-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-599-1
17:12:38.181 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.183 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac1f2381, /127.0.0.1:42048 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.183 [nioEventLoopGroup-596-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:38.183 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac1f2381, /127.0.0.1:42048 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.183 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac1f2381, /127.0.0.1:42048 => /127.0.0.1:34173] FLUSH
17:12:38.184 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.184 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac1f2381, /127.0.0.1:42048 => /127.0.0.1:34173] FLUSH
17:12:38.184 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac1f2381, /127.0.0.1:42048 :> /127.0.0.1:34173] INACTIVE
17:12:38.184 [nioEventLoopGroup-596-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xac1f2381, /127.0.0.1:42048 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.184 [nioEventLoopGroup-600-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-600-1
17:12:38.185 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.187 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16e97e48, /127.0.0.1:42050 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:38.188 [nioEventLoopGroup-596-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:38.188 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16e97e48, /127.0.0.1:42050 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.188 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16e97e48, /127.0.0.1:42050 => /127.0.0.1:34173] FLUSH
17:12:38.188 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.188 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16e97e48, /127.0.0.1:42050 => /127.0.0.1:34173] FLUSH
17:12:38.188 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16e97e48, /127.0.0.1:42050 :> /127.0.0.1:34173] INACTIVE
17:12:38.188 [nioEventLoopGroup-596-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x16e97e48, /127.0.0.1:42050 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.189 [nioEventLoopGroup-601-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-601-1
17:12:38.189 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.191 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb75e879f, /127.0.0.1:42052 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:38.192 [nioEventLoopGroup-596-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:38.192 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb75e879f, /127.0.0.1:42052 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.192 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb75e879f, /127.0.0.1:42052 => /127.0.0.1:34173] FLUSH
17:12:38.192 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.192 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb75e879f, /127.0.0.1:42052 => /127.0.0.1:34173] FLUSH
17:12:38.193 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb75e879f, /127.0.0.1:42052 :> /127.0.0.1:34173] INACTIVE
17:12:38.193 [nioEventLoopGroup-596-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb75e879f, /127.0.0.1:42052 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.193 [nioEventLoopGroup-602-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-602-1
17:12:38.193 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.195 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b422cf, /127.0.0.1:42054 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:38.196 [nioEventLoopGroup-596-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:38.196 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b422cf, /127.0.0.1:42054 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.196 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b422cf, /127.0.0.1:42054 => /127.0.0.1:34173] FLUSH
17:12:38.196 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.196 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b422cf, /127.0.0.1:42054 => /127.0.0.1:34173] FLUSH
17:12:38.196 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b422cf, /127.0.0.1:42054 :> /127.0.0.1:34173] INACTIVE
17:12:38.196 [nioEventLoopGroup-603-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-603-1
17:12:38.196 [nioEventLoopGroup-596-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe8b422cf, /127.0.0.1:42054 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.197 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.198 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3252e3a4, /127.0.0.1:42056 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.199 [nioEventLoopGroup-596-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:38.199 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3252e3a4, /127.0.0.1:42056 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.199 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3252e3a4, /127.0.0.1:42056 => /127.0.0.1:34173] FLUSH
17:12:38.199 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.199 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3252e3a4, /127.0.0.1:42056 => /127.0.0.1:34173] FLUSH
17:12:38.199 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3252e3a4, /127.0.0.1:42056 :> /127.0.0.1:34173] INACTIVE
17:12:38.199 [nioEventLoopGroup-604-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-604-1
17:12:38.199 [nioEventLoopGroup-596-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3252e3a4, /127.0.0.1:42056 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.200 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.203 [nioEventLoopGroup-596-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe22850e4, /127.0.0.1:42058 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.203 [nioEventLoopGroup-596-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:38.204 [nioEventLoopGroup-596-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe22850e4, /127.0.0.1:42058 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.204 [nioEventLoopGroup-596-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe22850e4, /127.0.0.1:42058 => /127.0.0.1:34173] FLUSH
17:12:38.204 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.204 [nioEventLoopGroup-596-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe22850e4, /127.0.0.1:42058 => /127.0.0.1:34173] FLUSH
17:12:38.204 [nioEventLoopGroup-596-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe22850e4, /127.0.0.1:42058 :> /127.0.0.1:34173] INACTIVE
17:12:38.204 [nioEventLoopGroup-596-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe22850e4, /127.0.0.1:42058 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.214 [nioEventLoopGroup-605-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-605-1
17:12:38.215 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.218 [nioEventLoopGroup-596-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb8de0a, /127.0.0.1:42060 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.219 [nioEventLoopGroup-596-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:38.220 [nioEventLoopGroup-596-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb8de0a, /127.0.0.1:42060 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.220 [nioEventLoopGroup-596-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb8de0a, /127.0.0.1:42060 => /127.0.0.1:34173] FLUSH
17:12:38.221 [nioEventLoopGroup-596-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb8de0a, /127.0.0.1:42060 => /127.0.0.1:34173] FLUSH
17:12:38.221 [nioEventLoopGroup-596-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb8de0a, /127.0.0.1:42060 :> /127.0.0.1:34173] INACTIVE
17:12:38.221 [nioEventLoopGroup-596-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4cb8de0a, /127.0.0.1:42060 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.223 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.223 [nioEventLoopGroup-606-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-606-1
17:12:38.224 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.226 [nioEventLoopGroup-596-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf25c98a5, /127.0.0.1:42062 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.227 [nioEventLoopGroup-596-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:38.227 [nioEventLoopGroup-596-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf25c98a5, /127.0.0.1:42062 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.227 [nioEventLoopGroup-596-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf25c98a5, /127.0.0.1:42062 => /127.0.0.1:34173] FLUSH
17:12:38.228 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.228 [nioEventLoopGroup-596-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf25c98a5, /127.0.0.1:42062 => /127.0.0.1:34173] FLUSH
17:12:38.228 [nioEventLoopGroup-596-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf25c98a5, /127.0.0.1:42062 :> /127.0.0.1:34173] INACTIVE
17:12:38.228 [nioEventLoopGroup-596-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf25c98a5, /127.0.0.1:42062 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.228 [nioEventLoopGroup-607-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-607-1
17:12:38.229 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.231 [nioEventLoopGroup-596-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8164200e, /127.0.0.1:42064 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:38.232 [nioEventLoopGroup-596-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:38.232 [nioEventLoopGroup-596-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8164200e, /127.0.0.1:42064 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.232 [nioEventLoopGroup-596-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8164200e, /127.0.0.1:42064 => /127.0.0.1:34173] FLUSH
17:12:38.232 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.232 [nioEventLoopGroup-596-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8164200e, /127.0.0.1:42064 => /127.0.0.1:34173] FLUSH
17:12:38.233 [nioEventLoopGroup-596-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8164200e, /127.0.0.1:42064 :> /127.0.0.1:34173] INACTIVE
17:12:38.233 [nioEventLoopGroup-608-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-608-1
17:12:38.233 [nioEventLoopGroup-596-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8164200e, /127.0.0.1:42064 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.233 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.236 [nioEventLoopGroup-596-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58cb4257, /127.0.0.1:42066 => /127.0.0.1:34173] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:38.237 [nioEventLoopGroup-596-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:38.237 [nioEventLoopGroup-596-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58cb4257, /127.0.0.1:42066 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.237 [nioEventLoopGroup-564-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-564-14
17:12:38.237 [nioEventLoopGroup-596-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58cb4257, /127.0.0.1:42066 => /127.0.0.1:34173] FLUSH
17:12:38.238 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.238 [nioEventLoopGroup-596-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58cb4257, /127.0.0.1:42066 => /127.0.0.1:34173] FLUSH
17:12:38.238 [nioEventLoopGroup-596-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58cb4257, /127.0.0.1:42066 :> /127.0.0.1:34173] INACTIVE
17:12:38.238 [nioEventLoopGroup-596-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x58cb4257, /127.0.0.1:42066 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.238 [nioEventLoopGroup-609-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-609-1
17:12:38.241 [nioEventLoopGroup-596-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56d89793, /127.0.0.1:42068 => /127.0.0.1:34173] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:34173
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:38.241 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.242 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.242 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:38.242 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.242 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.243 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.243 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.243 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.243 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.244 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.244 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.245 [nioEventLoopGroup-596-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


17:12:38.245 [nioEventLoopGroup-596-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 401,
	  "headers" : [ {
	    "name" : "WWW-Authenticate",
	    "values" : [ "Basic realm=\"Test Realm\"" ]
	  } ]
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:38.245 [nioEventLoopGroup-596-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56d89793, /127.0.0.1:42068 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="Test Realm"
Content-Length: 0
Connection: keep-alive, 0B
17:12:38.245 [nioEventLoopGroup-596-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56d89793, /127.0.0.1:42068 => /127.0.0.1:34173] FLUSH
17:12:38.249 [nioEventLoopGroup-596-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56d89793, /127.0.0.1:42068 => /127.0.0.1:34173] FLUSH
17:12:38.250 [nioEventLoopGroup-596-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56d89793, /127.0.0.1:42068 :> /127.0.0.1:34173] INACTIVE
17:12:38.250 [nioEventLoopGroup-596-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x56d89793, /127.0.0.1:42068 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.251 [nioEventLoopGroup-596-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6413cf2, /127.0.0.1:42070 => /127.0.0.1:34173] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:34173
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Authorization: Basic YWRtaW46JDNjcjN0
Content-Length: 0, 0B
17:12:38.252 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.252 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.252 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:38.253 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.253 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.253 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.254 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.254 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.254 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.254 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.255 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.255 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = false
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.256 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


17:12:38.256 [nioEventLoopGroup-596-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:38.257 [nioEventLoopGroup-596-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6413cf2, /127.0.0.1:42070 => /127.0.0.1:34173] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:38.257 [nioEventLoopGroup-596-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6413cf2, /127.0.0.1:42070 => /127.0.0.1:34173] FLUSH
17:12:38.259 [nioEventLoopGroup-596-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6413cf2, /127.0.0.1:42070 => /127.0.0.1:34173] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /basic HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:34173
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Authorization: Basic YWRtaW46JDNjcjN0
Content-Length: 0, 0B
17:12:38.260 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.260 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.261 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:38.261 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.261 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.262 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.262 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.262 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status200"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.262 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status300"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.263 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status400"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.263 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/status500"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.264 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "!Authorization",
	    "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}

 because:

	method matches = true
	path matches = true
	query string parameters match = true
	body matches = true
	headers match = false
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.264 [nioEventLoopGroup-596-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  } ]
	}


17:12:38.265 [nioEventLoopGroup-596-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/plain" ]
	  } ],
	  "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/basic",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:34173" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Authorization",
	    "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:38.265 [nioEventLoopGroup-596-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6413cf2, /127.0.0.1:42070 => /127.0.0.1:34173] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 119, cap: 119/119))
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 119
Connection: keep-alive, 119B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 3c 68 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d |<html><body><!--|
|00000010| 20 61 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c | a bunch of real|
|00000020| 6c 79 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 |ly interesting c|
|00000030| 6f 6e 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 |ontent that you |
|00000040| 77 6f 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 |would be sorry t|
|00000050| 6f 20 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e |o miss -->Nothin|
|00000060| 67 20 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e |g special</body>|
|00000070| 3c 2f 68 74 6d 6c 3e                            |</html>         |
+--------+-------------------------------------------------+----------------+
17:12:38.265 [nioEventLoopGroup-596-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6413cf2, /127.0.0.1:42070 => /127.0.0.1:34173] FLUSH
17:12:38.266 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:38.268 [nioEventLoopGroup-596-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x581b7346, /127.0.0.1:42072 => /127.0.0.1:34173] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:34173
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:38.269 [nioEventLoopGroup-596-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x581b7346, /127.0.0.1:42072 => /127.0.0.1:34173] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.269 [nioEventLoopGroup-596-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x581b7346, /127.0.0.1:42072 => /127.0.0.1:34173] FLUSH
17:12:38.269 [nioEventLoopGroup-596-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x581b7346, /127.0.0.1:42072 => /127.0.0.1:34173] CLOSE()
17:12:38.269 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.269 [nioEventLoopGroup-610-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-610-1
17:12:38.272 [nioEventLoopGroup-596-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-10
17:12:38.272 [nioEventLoopGroup-596-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-1
17:12:38.272 [nioEventLoopGroup-596-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-2
17:12:38.272 [nioEventLoopGroup-596-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6413cf2, /127.0.0.1:42070 :> /127.0.0.1:34173] INACTIVE
17:12:38.272 [nioEventLoopGroup-596-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-12
17:12:38.272 [nioEventLoopGroup-596-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-3
17:12:38.272 [nioEventLoopGroup-596-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-13
17:12:38.272 [nioEventLoopGroup-596-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-4
17:12:38.272 [nioEventLoopGroup-596-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-5
17:12:38.272 [nioEventLoopGroup-596-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-6
17:12:38.272 [nioEventLoopGroup-596-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6413cf2, /127.0.0.1:42070 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.272 [nioEventLoopGroup-596-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-7
17:12:38.272 [nioEventLoopGroup-596-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-8
17:12:38.272 [nioEventLoopGroup-596-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-9
17:12:38.272 [nioEventLoopGroup-596-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-11
17:12:38.272 [nioEventLoopGroup-596-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-14
17:12:38.314 [nioEventLoopGroup-580-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd17c8048, /127.0.0.1:40528 :> /127.0.0.1:34335] FLUSH
17:12:38.314 [nioEventLoopGroup-580-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd17c8048, /127.0.0.1:40528 :> /127.0.0.1:34335] INACTIVE
17:12:38.314 [nioEventLoopGroup-580-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd17c8048, /127.0.0.1:40528 :> /127.0.0.1:34335] UNREGISTERED
17:12:38.314 [nioEventLoopGroup-580-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-16
17:12:38.623 [MockServer thread for port: 44329] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 44329
17:12:38.623 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.625 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6553658a, /127.0.0.1:45636 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:38.626 [nioEventLoopGroup-612-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:38.626 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6553658a, /127.0.0.1:45636 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.626 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6553658a, /127.0.0.1:45636 => /127.0.0.1:44329] FLUSH
17:12:38.626 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.626 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6553658a, /127.0.0.1:45636 => /127.0.0.1:44329] FLUSH
17:12:38.626 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6553658a, /127.0.0.1:45636 :> /127.0.0.1:44329] INACTIVE
17:12:38.626 [nioEventLoopGroup-612-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6553658a, /127.0.0.1:45636 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.626 [nioEventLoopGroup-613-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-613-1
17:12:38.627 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.629 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62a6d00a, /127.0.0.1:45638 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:38.630 [nioEventLoopGroup-612-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:38.630 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62a6d00a, /127.0.0.1:45638 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.630 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62a6d00a, /127.0.0.1:45638 => /127.0.0.1:44329] FLUSH
17:12:38.631 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.631 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62a6d00a, /127.0.0.1:45638 => /127.0.0.1:44329] FLUSH
17:12:38.631 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62a6d00a, /127.0.0.1:45638 :> /127.0.0.1:44329] INACTIVE
17:12:38.631 [nioEventLoopGroup-612-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x62a6d00a, /127.0.0.1:45638 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.631 [nioEventLoopGroup-614-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-614-1
17:12:38.631 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.633 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe30e492, /127.0.0.1:45640 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:38.634 [nioEventLoopGroup-612-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:38.634 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe30e492, /127.0.0.1:45640 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.634 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe30e492, /127.0.0.1:45640 => /127.0.0.1:44329] FLUSH
17:12:38.634 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.634 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe30e492, /127.0.0.1:45640 => /127.0.0.1:44329] FLUSH
17:12:38.634 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe30e492, /127.0.0.1:45640 :> /127.0.0.1:44329] INACTIVE
17:12:38.634 [nioEventLoopGroup-612-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfe30e492, /127.0.0.1:45640 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.634 [nioEventLoopGroup-615-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-615-1
17:12:38.635 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.637 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1fde2a2, /127.0.0.1:45642 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.638 [nioEventLoopGroup-612-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:38.638 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1fde2a2, /127.0.0.1:45642 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.638 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1fde2a2, /127.0.0.1:45642 => /127.0.0.1:44329] FLUSH
17:12:38.638 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.638 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1fde2a2, /127.0.0.1:45642 => /127.0.0.1:44329] FLUSH
17:12:38.639 [nioEventLoopGroup-616-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-616-1
17:12:38.639 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1fde2a2, /127.0.0.1:45642 :> /127.0.0.1:44329] INACTIVE
17:12:38.639 [nioEventLoopGroup-612-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xd1fde2a2, /127.0.0.1:45642 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.639 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.641 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc091b100, /127.0.0.1:45644 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:38.642 [nioEventLoopGroup-612-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:38.642 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc091b100, /127.0.0.1:45644 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.642 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc091b100, /127.0.0.1:45644 => /127.0.0.1:44329] FLUSH
17:12:38.642 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.642 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc091b100, /127.0.0.1:45644 => /127.0.0.1:44329] FLUSH
17:12:38.643 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc091b100, /127.0.0.1:45644 :> /127.0.0.1:44329] INACTIVE
17:12:38.643 [nioEventLoopGroup-612-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc091b100, /127.0.0.1:45644 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.643 [nioEventLoopGroup-617-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-617-1
17:12:38.644 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.646 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589e37f8, /127.0.0.1:45646 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:38.646 [nioEventLoopGroup-612-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:38.647 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589e37f8, /127.0.0.1:45646 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.647 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589e37f8, /127.0.0.1:45646 => /127.0.0.1:44329] FLUSH
17:12:38.647 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.647 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589e37f8, /127.0.0.1:45646 => /127.0.0.1:44329] FLUSH
17:12:38.647 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589e37f8, /127.0.0.1:45646 :> /127.0.0.1:44329] INACTIVE
17:12:38.647 [nioEventLoopGroup-618-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-618-1
17:12:38.647 [nioEventLoopGroup-612-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x589e37f8, /127.0.0.1:45646 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.648 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.651 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3470a33c, /127.0.0.1:45648 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:38.651 [nioEventLoopGroup-612-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:38.652 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3470a33c, /127.0.0.1:45648 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.652 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3470a33c, /127.0.0.1:45648 => /127.0.0.1:44329] FLUSH
17:12:38.652 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.652 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3470a33c, /127.0.0.1:45648 => /127.0.0.1:44329] FLUSH
17:12:38.652 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3470a33c, /127.0.0.1:45648 :> /127.0.0.1:44329] INACTIVE
17:12:38.652 [nioEventLoopGroup-612-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3470a33c, /127.0.0.1:45648 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.652 [nioEventLoopGroup-619-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-619-1
17:12:38.653 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.655 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fd04219, /127.0.0.1:45650 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.656 [nioEventLoopGroup-612-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:38.656 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fd04219, /127.0.0.1:45650 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.656 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fd04219, /127.0.0.1:45650 => /127.0.0.1:44329] FLUSH
17:12:38.656 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.656 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fd04219, /127.0.0.1:45650 => /127.0.0.1:44329] FLUSH
17:12:38.657 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fd04219, /127.0.0.1:45650 :> /127.0.0.1:44329] INACTIVE
17:12:38.657 [nioEventLoopGroup-612-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6fd04219, /127.0.0.1:45650 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.657 [nioEventLoopGroup-620-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-620-1
17:12:38.658 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.660 [nioEventLoopGroup-612-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150680df, /127.0.0.1:45652 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.661 [nioEventLoopGroup-612-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:38.661 [nioEventLoopGroup-612-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150680df, /127.0.0.1:45652 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.661 [nioEventLoopGroup-612-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150680df, /127.0.0.1:45652 => /127.0.0.1:44329] FLUSH
17:12:38.661 [nioEventLoopGroup-612-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150680df, /127.0.0.1:45652 => /127.0.0.1:44329] FLUSH
17:12:38.661 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.661 [nioEventLoopGroup-612-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150680df, /127.0.0.1:45652 :> /127.0.0.1:44329] INACTIVE
17:12:38.661 [nioEventLoopGroup-612-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x150680df, /127.0.0.1:45652 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.661 [nioEventLoopGroup-621-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-621-1
17:12:38.662 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.665 [nioEventLoopGroup-612-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0e1e74b7, /127.0.0.1:45654 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.666 [nioEventLoopGroup-612-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:38.666 [nioEventLoopGroup-612-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0e1e74b7, /127.0.0.1:45654 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.666 [nioEventLoopGroup-612-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0e1e74b7, /127.0.0.1:45654 => /127.0.0.1:44329] FLUSH
17:12:38.666 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.666 [nioEventLoopGroup-612-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0e1e74b7, /127.0.0.1:45654 => /127.0.0.1:44329] FLUSH
17:12:38.667 [nioEventLoopGroup-622-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-622-1
17:12:38.667 [nioEventLoopGroup-612-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0e1e74b7, /127.0.0.1:45654 :> /127.0.0.1:44329] INACTIVE
17:12:38.667 [nioEventLoopGroup-612-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x0e1e74b7, /127.0.0.1:45654 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.668 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.670 [nioEventLoopGroup-612-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95073b31, /127.0.0.1:45656 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:38.671 [nioEventLoopGroup-612-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:38.671 [nioEventLoopGroup-612-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95073b31, /127.0.0.1:45656 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.671 [nioEventLoopGroup-612-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95073b31, /127.0.0.1:45656 => /127.0.0.1:44329] FLUSH
17:12:38.671 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.672 [nioEventLoopGroup-612-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95073b31, /127.0.0.1:45656 => /127.0.0.1:44329] FLUSH
17:12:38.672 [nioEventLoopGroup-612-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95073b31, /127.0.0.1:45656 :> /127.0.0.1:44329] INACTIVE
17:12:38.672 [nioEventLoopGroup-612-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x95073b31, /127.0.0.1:45656 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.672 [nioEventLoopGroup-623-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-623-1
17:12:38.678 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.682 [nioEventLoopGroup-612-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a651151, /127.0.0.1:45658 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:38.683 [nioEventLoopGroup-612-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:38.683 [nioEventLoopGroup-612-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a651151, /127.0.0.1:45658 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.683 [nioEventLoopGroup-612-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a651151, /127.0.0.1:45658 => /127.0.0.1:44329] FLUSH
17:12:38.683 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.684 [nioEventLoopGroup-612-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a651151, /127.0.0.1:45658 => /127.0.0.1:44329] FLUSH
17:12:38.684 [nioEventLoopGroup-612-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a651151, /127.0.0.1:45658 :> /127.0.0.1:44329] INACTIVE
17:12:38.684 [nioEventLoopGroup-612-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4a651151, /127.0.0.1:45658 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.684 [nioEventLoopGroup-624-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-624-1
17:12:38.685 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:38.688 [nioEventLoopGroup-612-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb9611ed, /127.0.0.1:45660 => /127.0.0.1:44329] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:38.689 [nioEventLoopGroup-612-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:38.690 [nioEventLoopGroup-612-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb9611ed, /127.0.0.1:45660 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.690 [nioEventLoopGroup-612-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb9611ed, /127.0.0.1:45660 => /127.0.0.1:44329] FLUSH
17:12:38.690 [nioEventLoopGroup-612-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb9611ed, /127.0.0.1:45660 => /127.0.0.1:44329] FLUSH
17:12:38.691 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.691 [nioEventLoopGroup-612-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb9611ed, /127.0.0.1:45660 :> /127.0.0.1:44329] INACTIVE
17:12:38.691 [nioEventLoopGroup-612-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xbb9611ed, /127.0.0.1:45660 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.691 [nioEventLoopGroup-625-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-625-1
17:12:38.705 [nioEventLoopGroup-612-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded01190, /127.0.0.1:45662 => /127.0.0.1:44329] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /date HTTP/1.1
Host: localhost:44329
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:38.705 [nioEventLoopGroup-612-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.707 [nioEventLoopGroup-612-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.707 [nioEventLoopGroup-612-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:38.707 [nioEventLoopGroup-612-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.708 [nioEventLoopGroup-612-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.708 [nioEventLoopGroup-612-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.708 [nioEventLoopGroup-612-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}


17:12:38.709 [nioEventLoopGroup-612-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/date" ]
	  } ],
	  "body" : "2016.08.25 14:43"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:38.709 [nioEventLoopGroup-612-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded01190, /127.0.0.1:45662 => /127.0.0.1:44329] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 16, cap: 16/16))
HTTP/1.1 200 OK
Content-Type: text/date
Content-Length: 16
Connection: keep-alive, 16B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 30 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 |2016.08.25 14:43|
+--------+-------------------------------------------------+----------------+
17:12:38.709 [nioEventLoopGroup-612-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded01190, /127.0.0.1:45662 => /127.0.0.1:44329] FLUSH
17:12:38.731 [nioEventLoopGroup-612-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f129e46, /127.0.0.1:45664 => /127.0.0.1:44329] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /date HTTP/1.1
Host: localhost:44329
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_111)
Accept-Encoding: gzip,deflate
Content-Length: 0, 0B
17:12:38.732 [nioEventLoopGroup-612-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.733 [nioEventLoopGroup-612-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.735 [nioEventLoopGroup-612-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:38.735 [nioEventLoopGroup-612-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.736 [nioEventLoopGroup-612-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.736 [nioEventLoopGroup-612-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:38.736 [nioEventLoopGroup-612-15] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "Keep-Alive" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}


17:12:38.737 [nioEventLoopGroup-612-15] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/date" ]
	  } ],
	  "body" : "2016.08.25 14:43"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Host",
	    "values" : [ "localhost:44329" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Apache-HttpClient/4.5.2 (Java/1.8.0_111)" ]
	  }, {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip,deflate" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:38.737 [nioEventLoopGroup-612-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f129e46, /127.0.0.1:45664 => /127.0.0.1:44329] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 16, cap: 16/16))
HTTP/1.1 200 OK
Content-Type: text/date
Content-Length: 16
Connection: keep-alive, 16B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 30 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 |2016.08.25 14:43|
+--------+-------------------------------------------------+----------------+
17:12:38.737 [nioEventLoopGroup-612-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f129e46, /127.0.0.1:45664 => /127.0.0.1:44329] FLUSH
17:12:38.739 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:38.741 [nioEventLoopGroup-612-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdae2d3f4, /127.0.0.1:45666 => /127.0.0.1:44329] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:44329
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:38.742 [nioEventLoopGroup-612-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdae2d3f4, /127.0.0.1:45666 => /127.0.0.1:44329] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:38.742 [nioEventLoopGroup-612-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdae2d3f4, /127.0.0.1:45666 => /127.0.0.1:44329] FLUSH
17:12:38.742 [nioEventLoopGroup-612-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdae2d3f4, /127.0.0.1:45666 => /127.0.0.1:44329] CLOSE()
17:12:38.746 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:38.746 [nioEventLoopGroup-626-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-626-1
17:12:38.747 [nioEventLoopGroup-612-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-13
17:12:38.747 [nioEventLoopGroup-612-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-1
17:12:38.747 [nioEventLoopGroup-612-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-2
17:12:38.747 [nioEventLoopGroup-612-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded01190, /127.0.0.1:45662 :> /127.0.0.1:44329] INACTIVE
17:12:38.747 [nioEventLoopGroup-612-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-3
17:12:38.747 [nioEventLoopGroup-612-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-4
17:12:38.747 [nioEventLoopGroup-612-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-5
17:12:38.747 [nioEventLoopGroup-612-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-6
17:12:38.747 [nioEventLoopGroup-612-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-7
17:12:38.747 [nioEventLoopGroup-612-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-8
17:12:38.747 [nioEventLoopGroup-612-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-9
17:12:38.748 [nioEventLoopGroup-612-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-10
17:12:38.748 [nioEventLoopGroup-612-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-11
17:12:38.748 [nioEventLoopGroup-612-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-12
17:12:38.748 [nioEventLoopGroup-612-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f129e46, /127.0.0.1:45664 :> /127.0.0.1:44329] INACTIVE
17:12:38.748 [nioEventLoopGroup-612-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xded01190, /127.0.0.1:45662 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.748 [nioEventLoopGroup-612-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x3f129e46, /127.0.0.1:45664 :> /127.0.0.1:44329] UNREGISTERED
17:12:38.772 [nioEventLoopGroup-596-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x581b7346, /127.0.0.1:42072 :> /127.0.0.1:34173] FLUSH
17:12:38.772 [nioEventLoopGroup-596-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x581b7346, /127.0.0.1:42072 :> /127.0.0.1:34173] INACTIVE
17:12:38.772 [nioEventLoopGroup-596-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x581b7346, /127.0.0.1:42072 :> /127.0.0.1:34173] UNREGISTERED
17:12:38.772 [nioEventLoopGroup-596-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-16
17:12:38.817 [nioEventLoopGroup-580-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-14
17:12:38.817 [nioEventLoopGroup-580-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-580-15
17:12:39.100 [MockServer thread for port: 38453] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 38453
17:12:39.100 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.108 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9b9c778, /127.0.0.1:40700 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:39.109 [nioEventLoopGroup-628-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:39.109 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9b9c778, /127.0.0.1:40700 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.109 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9b9c778, /127.0.0.1:40700 => /127.0.0.1:38453] FLUSH
17:12:39.110 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.110 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9b9c778, /127.0.0.1:40700 => /127.0.0.1:38453] FLUSH
17:12:39.110 [nioEventLoopGroup-629-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-629-1
17:12:39.110 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9b9c778, /127.0.0.1:40700 :> /127.0.0.1:38453] INACTIVE
17:12:39.110 [nioEventLoopGroup-628-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc9b9c778, /127.0.0.1:40700 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.111 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.112 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb82e0d88, /127.0.0.1:40702 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:39.113 [nioEventLoopGroup-628-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:39.113 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb82e0d88, /127.0.0.1:40702 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.113 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb82e0d88, /127.0.0.1:40702 => /127.0.0.1:38453] FLUSH
17:12:39.114 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.114 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb82e0d88, /127.0.0.1:40702 => /127.0.0.1:38453] FLUSH
17:12:39.114 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb82e0d88, /127.0.0.1:40702 :> /127.0.0.1:38453] INACTIVE
17:12:39.114 [nioEventLoopGroup-628-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb82e0d88, /127.0.0.1:40702 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.114 [nioEventLoopGroup-630-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-630-1
17:12:39.115 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.116 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2495763, /127.0.0.1:40704 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:39.117 [nioEventLoopGroup-628-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:39.117 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2495763, /127.0.0.1:40704 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.117 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2495763, /127.0.0.1:40704 => /127.0.0.1:38453] FLUSH
17:12:39.118 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.118 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2495763, /127.0.0.1:40704 => /127.0.0.1:38453] FLUSH
17:12:39.118 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2495763, /127.0.0.1:40704 :> /127.0.0.1:38453] INACTIVE
17:12:39.118 [nioEventLoopGroup-628-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe2495763, /127.0.0.1:40704 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.118 [nioEventLoopGroup-631-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-631-1
17:12:39.118 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.120 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbf2ce44, /127.0.0.1:40706 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.121 [nioEventLoopGroup-628-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:39.121 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbf2ce44, /127.0.0.1:40706 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.121 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbf2ce44, /127.0.0.1:40706 => /127.0.0.1:38453] FLUSH
17:12:39.121 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.121 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbf2ce44, /127.0.0.1:40706 => /127.0.0.1:38453] FLUSH
17:12:39.121 [nioEventLoopGroup-632-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-632-1
17:12:39.121 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbf2ce44, /127.0.0.1:40706 :> /127.0.0.1:38453] INACTIVE
17:12:39.121 [nioEventLoopGroup-628-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcbf2ce44, /127.0.0.1:40706 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.125 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.127 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9814b8e, /127.0.0.1:40708 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:39.128 [nioEventLoopGroup-628-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:39.128 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9814b8e, /127.0.0.1:40708 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.128 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9814b8e, /127.0.0.1:40708 => /127.0.0.1:38453] FLUSH
17:12:39.128 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.129 [nioEventLoopGroup-633-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-633-1
17:12:39.129 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9814b8e, /127.0.0.1:40708 => /127.0.0.1:38453] FLUSH
17:12:39.129 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9814b8e, /127.0.0.1:40708 :> /127.0.0.1:38453] INACTIVE
17:12:39.129 [nioEventLoopGroup-628-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa9814b8e, /127.0.0.1:40708 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.130 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.132 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44341919, /127.0.0.1:40710 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:39.133 [nioEventLoopGroup-628-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:39.134 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44341919, /127.0.0.1:40710 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.134 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44341919, /127.0.0.1:40710 => /127.0.0.1:38453] FLUSH
17:12:39.134 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.135 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44341919, /127.0.0.1:40710 => /127.0.0.1:38453] FLUSH
17:12:39.135 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44341919, /127.0.0.1:40710 :> /127.0.0.1:38453] INACTIVE
17:12:39.135 [nioEventLoopGroup-628-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x44341919, /127.0.0.1:40710 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.138 [nioEventLoopGroup-634-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-634-1
17:12:39.140 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.142 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c8a007, /127.0.0.1:40712 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:39.143 [nioEventLoopGroup-628-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:39.143 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c8a007, /127.0.0.1:40712 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.143 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c8a007, /127.0.0.1:40712 => /127.0.0.1:38453] FLUSH
17:12:39.143 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.143 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c8a007, /127.0.0.1:40712 => /127.0.0.1:38453] FLUSH
17:12:39.143 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c8a007, /127.0.0.1:40712 :> /127.0.0.1:38453] INACTIVE
17:12:39.143 [nioEventLoopGroup-628-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x38c8a007, /127.0.0.1:40712 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.143 [nioEventLoopGroup-635-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-635-1
17:12:39.144 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.147 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe61f7169, /127.0.0.1:40714 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.147 [nioEventLoopGroup-628-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:39.147 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe61f7169, /127.0.0.1:40714 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.147 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe61f7169, /127.0.0.1:40714 => /127.0.0.1:38453] FLUSH
17:12:39.148 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.148 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe61f7169, /127.0.0.1:40714 => /127.0.0.1:38453] FLUSH
17:12:39.148 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe61f7169, /127.0.0.1:40714 :> /127.0.0.1:38453] INACTIVE
17:12:39.148 [nioEventLoopGroup-628-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe61f7169, /127.0.0.1:40714 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.148 [nioEventLoopGroup-636-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-636-1
17:12:39.149 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.151 [nioEventLoopGroup-628-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f8f794c, /127.0.0.1:40716 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.151 [nioEventLoopGroup-628-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:39.151 [nioEventLoopGroup-628-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f8f794c, /127.0.0.1:40716 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.151 [nioEventLoopGroup-628-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f8f794c, /127.0.0.1:40716 => /127.0.0.1:38453] FLUSH
17:12:39.152 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.152 [nioEventLoopGroup-628-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f8f794c, /127.0.0.1:40716 => /127.0.0.1:38453] FLUSH
17:12:39.152 [nioEventLoopGroup-637-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-637-1
17:12:39.152 [nioEventLoopGroup-628-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f8f794c, /127.0.0.1:40716 :> /127.0.0.1:38453] INACTIVE
17:12:39.152 [nioEventLoopGroup-628-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9f8f794c, /127.0.0.1:40716 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.153 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.155 [nioEventLoopGroup-628-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63033e2, /127.0.0.1:40718 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.155 [nioEventLoopGroup-628-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:39.155 [nioEventLoopGroup-628-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63033e2, /127.0.0.1:40718 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.155 [nioEventLoopGroup-628-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63033e2, /127.0.0.1:40718 => /127.0.0.1:38453] FLUSH
17:12:39.156 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.156 [nioEventLoopGroup-628-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63033e2, /127.0.0.1:40718 => /127.0.0.1:38453] FLUSH
17:12:39.156 [nioEventLoopGroup-628-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63033e2, /127.0.0.1:40718 :> /127.0.0.1:38453] INACTIVE
17:12:39.156 [nioEventLoopGroup-638-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-638-1
17:12:39.156 [nioEventLoopGroup-628-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xb63033e2, /127.0.0.1:40718 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.157 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.159 [nioEventLoopGroup-628-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x256935dc, /127.0.0.1:40720 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.160 [nioEventLoopGroup-628-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:39.160 [nioEventLoopGroup-628-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x256935dc, /127.0.0.1:40720 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.160 [nioEventLoopGroup-628-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x256935dc, /127.0.0.1:40720 => /127.0.0.1:38453] FLUSH
17:12:39.160 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.160 [nioEventLoopGroup-628-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x256935dc, /127.0.0.1:40720 => /127.0.0.1:38453] FLUSH
17:12:39.160 [nioEventLoopGroup-628-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x256935dc, /127.0.0.1:40720 :> /127.0.0.1:38453] INACTIVE
17:12:39.160 [nioEventLoopGroup-628-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x256935dc, /127.0.0.1:40720 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.160 [nioEventLoopGroup-639-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-639-1
17:12:39.161 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.163 [nioEventLoopGroup-628-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1109438, /127.0.0.1:40722 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:39.164 [nioEventLoopGroup-628-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:39.164 [nioEventLoopGroup-628-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1109438, /127.0.0.1:40722 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.164 [nioEventLoopGroup-628-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1109438, /127.0.0.1:40722 => /127.0.0.1:38453] FLUSH
17:12:39.164 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.164 [nioEventLoopGroup-628-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1109438, /127.0.0.1:40722 => /127.0.0.1:38453] FLUSH
17:12:39.164 [nioEventLoopGroup-628-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1109438, /127.0.0.1:40722 :> /127.0.0.1:38453] INACTIVE
17:12:39.164 [nioEventLoopGroup-628-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xc1109438, /127.0.0.1:40722 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.165 [nioEventLoopGroup-640-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-640-1
17:12:39.166 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.168 [nioEventLoopGroup-628-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bbd850b, /127.0.0.1:40724 => /127.0.0.1:38453] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:39.169 [nioEventLoopGroup-628-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:39.169 [nioEventLoopGroup-628-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bbd850b, /127.0.0.1:40724 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.169 [nioEventLoopGroup-628-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bbd850b, /127.0.0.1:40724 => /127.0.0.1:38453] FLUSH
17:12:39.169 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.169 [nioEventLoopGroup-628-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bbd850b, /127.0.0.1:40724 => /127.0.0.1:38453] FLUSH
17:12:39.170 [nioEventLoopGroup-628-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bbd850b, /127.0.0.1:40724 :> /127.0.0.1:38453] INACTIVE
17:12:39.170 [nioEventLoopGroup-628-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bbd850b, /127.0.0.1:40724 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.170 [nioEventLoopGroup-641-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-641-1
17:12:39.173 [nioEventLoopGroup-628-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37a04214, /127.0.0.1:40726 => /127.0.0.1:38453] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /date HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:38453
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:39.173 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.173 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.174 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:39.174 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.174 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.174 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.174 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}


17:12:39.175 [nioEventLoopGroup-628-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/date" ]
	  } ],
	  "body" : "2016.08.25 14:43"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:39.175 [nioEventLoopGroup-628-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37a04214, /127.0.0.1:40726 => /127.0.0.1:38453] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 16, cap: 16/16))
HTTP/1.1 200 OK
Content-Type: text/date
Content-Length: 16
Connection: keep-alive, 16B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 30 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 |2016.08.25 14:43|
+--------+-------------------------------------------------+----------------+
17:12:39.175 [nioEventLoopGroup-628-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37a04214, /127.0.0.1:40726 => /127.0.0.1:38453] FLUSH
17:12:39.180 [nioEventLoopGroup-628-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37a04214, /127.0.0.1:40726 => /127.0.0.1:38453] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
GET /date HTTP/1.1
Accept-Encoding: gzip, deflate
User-Agent: Java/1.8.0_111
Host: localhost:38453
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 0, 0B
17:12:39.181 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.181 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "queryStringParameters" : [ {
	    "name" : "alpha",
	    "values" : [ "bravo" ]
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = false
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.182 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo",
	  "cookies" : [ {
	    "name" : "biscuit",
	    "value" : "wafer"
	  } ]
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = false
	keep-alive matches = true
	ssl matches = true



17:12:39.184 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/foo"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.184 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/xml"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.185 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 did not match expectation:

	{
	  "method" : "GET",
	  "path" : "/json"
	}

 because:

	method matches = true
	path matches = false
	query string parameters match = true
	body matches = true
	headers match = true
	cookies match = true
	keep-alive matches = true
	ssl matches = true



17:12:39.185 [nioEventLoopGroup-628-14] INFO  o.m.matchers.HttpRequestMatcher - request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Connection",
	    "values" : [ "keep-alive" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}

 matched expectation:

	{
	  "method" : "GET",
	  "path" : "/date"
	}


17:12:39.186 [nioEventLoopGroup-628-14] INFO  o.m.mockserver.MockServerHandler - returning response:

	{
	  "statusCode" : 200,
	  "headers" : [ {
	    "name" : "Content-Type",
	    "values" : [ "text/date" ]
	  } ],
	  "body" : "2016.08.25 14:43"
	}

 for request:

	{
	  "method" : "GET",
	  "path" : "/date",
	  "headers" : [ {
	    "name" : "Accept-Encoding",
	    "values" : [ "gzip, deflate" ]
	  }, {
	    "name" : "User-Agent",
	    "values" : [ "Java/1.8.0_111" ]
	  }, {
	    "name" : "Host",
	    "values" : [ "localhost:38453" ]
	  }, {
	    "name" : "Accept",
	    "values" : [ "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" ]
	  }, {
	    "name" : "Content-Length",
	    "values" : [ "0" ]
	  } ],
	  "keepAlive" : true,
	  "secure" : false
	}


17:12:39.186 [nioEventLoopGroup-628-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37a04214, /127.0.0.1:40726 => /127.0.0.1:38453] WRITE: DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledHeapByteBuf(ridx: 0, widx: 16, cap: 16/16))
HTTP/1.1 200 OK
Content-Type: text/date
Content-Length: 16
Connection: keep-alive, 16B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 30 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 |2016.08.25 14:43|
+--------+-------------------------------------------------+----------------+
17:12:39.186 [nioEventLoopGroup-628-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37a04214, /127.0.0.1:40726 => /127.0.0.1:38453] FLUSH
17:12:39.187 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:39.211 [nioEventLoopGroup-628-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5a739716, /127.0.0.1:40728 => /127.0.0.1:38453] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:38453
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:39.211 [nioEventLoopGroup-628-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5a739716, /127.0.0.1:40728 => /127.0.0.1:38453] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.211 [nioEventLoopGroup-628-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5a739716, /127.0.0.1:40728 => /127.0.0.1:38453] FLUSH
17:12:39.211 [nioEventLoopGroup-628-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5a739716, /127.0.0.1:40728 => /127.0.0.1:38453] CLOSE()
17:12:39.212 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.213 [nioEventLoopGroup-642-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-642-1
17:12:39.217 [nioEventLoopGroup-628-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-1
17:12:39.218 [nioEventLoopGroup-628-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-2
17:12:39.218 [nioEventLoopGroup-628-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-7
17:12:39.218 [nioEventLoopGroup-628-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-3
17:12:39.218 [nioEventLoopGroup-628-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-4
17:12:39.218 [nioEventLoopGroup-628-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-6
17:12:39.218 [nioEventLoopGroup-628-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-5
17:12:39.218 [nioEventLoopGroup-628-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-8
17:12:39.218 [nioEventLoopGroup-628-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-9
17:12:39.218 [nioEventLoopGroup-628-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-12
17:12:39.218 [nioEventLoopGroup-628-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-10
17:12:39.218 [nioEventLoopGroup-628-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-11
17:12:39.218 [nioEventLoopGroup-628-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-13
17:12:39.218 [nioEventLoopGroup-628-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37a04214, /127.0.0.1:40726 :> /127.0.0.1:38453] INACTIVE
17:12:39.218 [nioEventLoopGroup-628-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x37a04214, /127.0.0.1:40726 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.247 [nioEventLoopGroup-612-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdae2d3f4, /127.0.0.1:45666 :> /127.0.0.1:44329] FLUSH
17:12:39.247 [nioEventLoopGroup-612-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdae2d3f4, /127.0.0.1:45666 :> /127.0.0.1:44329] INACTIVE
17:12:39.247 [nioEventLoopGroup-612-16] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xdae2d3f4, /127.0.0.1:45666 :> /127.0.0.1:44329] UNREGISTERED
17:12:39.247 [nioEventLoopGroup-612-16] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-16
17:12:39.273 [nioEventLoopGroup-596-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-596-15
17:12:39.568 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.569 [MockServer thread for port: 39111] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 39111
17:12:39.571 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8f5b805, /127.0.0.1:44096 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:39.572 [nioEventLoopGroup-644-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:39.572 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8f5b805, /127.0.0.1:44096 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.572 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8f5b805, /127.0.0.1:44096 => /127.0.0.1:39111] FLUSH
17:12:39.572 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.572 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8f5b805, /127.0.0.1:44096 => /127.0.0.1:39111] FLUSH
17:12:39.572 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8f5b805, /127.0.0.1:44096 :> /127.0.0.1:39111] INACTIVE
17:12:39.573 [nioEventLoopGroup-644-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa8f5b805, /127.0.0.1:44096 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.573 [nioEventLoopGroup-645-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-645-1
17:12:39.573 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.576 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71dc5530, /127.0.0.1:44098 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:39.577 [nioEventLoopGroup-644-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:39.577 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71dc5530, /127.0.0.1:44098 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.577 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71dc5530, /127.0.0.1:44098 => /127.0.0.1:39111] FLUSH
17:12:39.577 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.577 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71dc5530, /127.0.0.1:44098 => /127.0.0.1:39111] FLUSH
17:12:39.578 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71dc5530, /127.0.0.1:44098 :> /127.0.0.1:39111] INACTIVE
17:12:39.578 [nioEventLoopGroup-644-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71dc5530, /127.0.0.1:44098 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.578 [nioEventLoopGroup-646-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-646-1
17:12:39.578 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.581 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bf3862b, /127.0.0.1:44100 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:39.581 [nioEventLoopGroup-644-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:39.582 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bf3862b, /127.0.0.1:44100 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.582 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bf3862b, /127.0.0.1:44100 => /127.0.0.1:39111] FLUSH
17:12:39.582 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.582 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bf3862b, /127.0.0.1:44100 => /127.0.0.1:39111] FLUSH
17:12:39.582 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bf3862b, /127.0.0.1:44100 :> /127.0.0.1:39111] INACTIVE
17:12:39.582 [nioEventLoopGroup-644-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2bf3862b, /127.0.0.1:44100 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.582 [nioEventLoopGroup-647-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-647-1
17:12:39.583 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.586 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71489a1c, /127.0.0.1:44102 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.587 [nioEventLoopGroup-644-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:39.587 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71489a1c, /127.0.0.1:44102 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.587 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71489a1c, /127.0.0.1:44102 => /127.0.0.1:39111] FLUSH
17:12:39.587 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.587 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71489a1c, /127.0.0.1:44102 => /127.0.0.1:39111] FLUSH
17:12:39.588 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71489a1c, /127.0.0.1:44102 :> /127.0.0.1:39111] INACTIVE
17:12:39.588 [nioEventLoopGroup-648-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-648-1
17:12:39.588 [nioEventLoopGroup-644-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x71489a1c, /127.0.0.1:44102 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.589 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.591 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e18af10, /127.0.0.1:44104 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:39.592 [nioEventLoopGroup-644-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:39.593 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e18af10, /127.0.0.1:44104 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.593 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e18af10, /127.0.0.1:44104 => /127.0.0.1:39111] FLUSH
17:12:39.593 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.593 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e18af10, /127.0.0.1:44104 => /127.0.0.1:39111] FLUSH
17:12:39.593 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e18af10, /127.0.0.1:44104 :> /127.0.0.1:39111] INACTIVE
17:12:39.593 [nioEventLoopGroup-649-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-649-1
17:12:39.593 [nioEventLoopGroup-644-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9e18af10, /127.0.0.1:44104 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.595 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.607 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c54d25, /127.0.0.1:44106 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:39.608 [nioEventLoopGroup-644-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:39.608 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c54d25, /127.0.0.1:44106 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.608 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c54d25, /127.0.0.1:44106 => /127.0.0.1:39111] FLUSH
17:12:39.608 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.608 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c54d25, /127.0.0.1:44106 => /127.0.0.1:39111] FLUSH
17:12:39.608 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c54d25, /127.0.0.1:44106 :> /127.0.0.1:39111] INACTIVE
17:12:39.608 [nioEventLoopGroup-644-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x93c54d25, /127.0.0.1:44106 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.610 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.610 [nioEventLoopGroup-650-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-650-1
17:12:39.612 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5723a5a9, /127.0.0.1:44108 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:39.613 [nioEventLoopGroup-644-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:39.613 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5723a5a9, /127.0.0.1:44108 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.613 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5723a5a9, /127.0.0.1:44108 => /127.0.0.1:39111] FLUSH
17:12:39.613 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.613 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5723a5a9, /127.0.0.1:44108 => /127.0.0.1:39111] FLUSH
17:12:39.613 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5723a5a9, /127.0.0.1:44108 :> /127.0.0.1:39111] INACTIVE
17:12:39.613 [nioEventLoopGroup-644-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5723a5a9, /127.0.0.1:44108 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.613 [nioEventLoopGroup-651-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-651-1
17:12:39.614 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.616 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf140a3b3, /127.0.0.1:44110 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.617 [nioEventLoopGroup-644-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:39.618 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf140a3b3, /127.0.0.1:44110 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.618 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf140a3b3, /127.0.0.1:44110 => /127.0.0.1:39111] FLUSH
17:12:39.618 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.618 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf140a3b3, /127.0.0.1:44110 => /127.0.0.1:39111] FLUSH
17:12:39.618 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf140a3b3, /127.0.0.1:44110 :> /127.0.0.1:39111] INACTIVE
17:12:39.618 [nioEventLoopGroup-652-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-652-1
17:12:39.618 [nioEventLoopGroup-644-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf140a3b3, /127.0.0.1:44110 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.621 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.624 [nioEventLoopGroup-644-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x951dcb03, /127.0.0.1:44114 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.625 [nioEventLoopGroup-644-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:39.625 [nioEventLoopGroup-644-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x951dcb03, /127.0.0.1:44114 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.625 [nioEventLoopGroup-644-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x951dcb03, /127.0.0.1:44114 => /127.0.0.1:39111] FLUSH
17:12:39.625 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.625 [nioEventLoopGroup-644-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x951dcb03, /127.0.0.1:44114 => /127.0.0.1:39111] FLUSH
17:12:39.625 [nioEventLoopGroup-653-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-653-1
17:12:39.626 [nioEventLoopGroup-644-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x951dcb03, /127.0.0.1:44114 :> /127.0.0.1:39111] INACTIVE
17:12:39.626 [nioEventLoopGroup-644-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x951dcb03, /127.0.0.1:44114 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.626 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.628 [nioEventLoopGroup-644-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa5696333, /127.0.0.1:44116 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.629 [nioEventLoopGroup-644-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:39.629 [nioEventLoopGroup-644-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa5696333, /127.0.0.1:44116 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.629 [nioEventLoopGroup-644-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa5696333, /127.0.0.1:44116 => /127.0.0.1:39111] FLUSH
17:12:39.630 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.630 [nioEventLoopGroup-644-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa5696333, /127.0.0.1:44116 => /127.0.0.1:39111] FLUSH
17:12:39.630 [nioEventLoopGroup-644-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa5696333, /127.0.0.1:44116 :> /127.0.0.1:39111] INACTIVE
17:12:39.630 [nioEventLoopGroup-644-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa5696333, /127.0.0.1:44116 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.630 [nioEventLoopGroup-654-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-654-1
17:12:39.636 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.638 [nioEventLoopGroup-644-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a23f074, /127.0.0.1:44118 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:39.639 [nioEventLoopGroup-644-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:39.639 [nioEventLoopGroup-644-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a23f074, /127.0.0.1:44118 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.639 [nioEventLoopGroup-644-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a23f074, /127.0.0.1:44118 => /127.0.0.1:39111] FLUSH
17:12:39.639 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.639 [nioEventLoopGroup-644-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a23f074, /127.0.0.1:44118 => /127.0.0.1:39111] FLUSH
17:12:39.639 [nioEventLoopGroup-644-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a23f074, /127.0.0.1:44118 :> /127.0.0.1:39111] INACTIVE
17:12:39.640 [nioEventLoopGroup-644-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x2a23f074, /127.0.0.1:44118 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.640 [nioEventLoopGroup-655-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-655-1
17:12:39.640 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.643 [nioEventLoopGroup-644-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f825072, /127.0.0.1:44120 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:39.645 [nioEventLoopGroup-644-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:39.646 [nioEventLoopGroup-644-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f825072, /127.0.0.1:44120 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.646 [nioEventLoopGroup-644-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f825072, /127.0.0.1:44120 => /127.0.0.1:39111] FLUSH
17:12:39.647 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.647 [nioEventLoopGroup-644-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f825072, /127.0.0.1:44120 => /127.0.0.1:39111] FLUSH
17:12:39.647 [nioEventLoopGroup-644-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f825072, /127.0.0.1:44120 :> /127.0.0.1:39111] INACTIVE
17:12:39.647 [nioEventLoopGroup-644-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x4f825072, /127.0.0.1:44120 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.647 [nioEventLoopGroup-656-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-656-1
17:12:39.649 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:39.651 [nioEventLoopGroup-644-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbf84914, /127.0.0.1:44122 => /127.0.0.1:39111] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:39.652 [nioEventLoopGroup-644-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:39.652 [nioEventLoopGroup-644-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbf84914, /127.0.0.1:44122 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:39.652 [nioEventLoopGroup-644-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbf84914, /127.0.0.1:44122 => /127.0.0.1:39111] FLUSH
17:12:39.653 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:39.653 [nioEventLoopGroup-644-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbf84914, /127.0.0.1:44122 => /127.0.0.1:39111] FLUSH
17:12:39.653 [nioEventLoopGroup-644-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbf84914, /127.0.0.1:44122 :> /127.0.0.1:39111] INACTIVE
17:12:39.653 [nioEventLoopGroup-644-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xfbf84914, /127.0.0.1:44122 :> /127.0.0.1:39111] UNREGISTERED
17:12:39.653 [nioEventLoopGroup-657-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-657-1
17:12:39.718 [nioEventLoopGroup-628-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5a739716, /127.0.0.1:40728 :> /127.0.0.1:38453] FLUSH
17:12:39.718 [nioEventLoopGroup-628-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5a739716, /127.0.0.1:40728 :> /127.0.0.1:38453] INACTIVE
17:12:39.718 [nioEventLoopGroup-628-15] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x5a739716, /127.0.0.1:40728 :> /127.0.0.1:38453] UNREGISTERED
17:12:39.719 [nioEventLoopGroup-628-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-15
17:12:39.749 [nioEventLoopGroup-612-15] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-15
17:12:39.749 [nioEventLoopGroup-612-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-612-14
17:12:40.000 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:40.003 [nioEventLoopGroup-644-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x342cc02e, /127.0.0.1:44140 => /127.0.0.1:39111] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:39111
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:40.004 [nioEventLoopGroup-644-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x342cc02e, /127.0.0.1:44140 => /127.0.0.1:39111] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.004 [nioEventLoopGroup-644-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x342cc02e, /127.0.0.1:44140 => /127.0.0.1:39111] FLUSH
17:12:40.004 [nioEventLoopGroup-644-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x342cc02e, /127.0.0.1:44140 => /127.0.0.1:39111] CLOSE()
17:12:40.004 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.005 [nioEventLoopGroup-658-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-658-1
17:12:40.006 [nioEventLoopGroup-644-2] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-2
17:12:40.006 [nioEventLoopGroup-644-6] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-6
17:12:40.006 [nioEventLoopGroup-644-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-1
17:12:40.006 [nioEventLoopGroup-644-11] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-11
17:12:40.006 [nioEventLoopGroup-644-4] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-4
17:12:40.006 [nioEventLoopGroup-644-3] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-3
17:12:40.006 [nioEventLoopGroup-644-13] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-13
17:12:40.006 [nioEventLoopGroup-644-5] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-5
17:12:40.006 [nioEventLoopGroup-644-7] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-7
17:12:40.006 [nioEventLoopGroup-644-9] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-9
17:12:40.006 [nioEventLoopGroup-644-8] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-8
17:12:40.006 [nioEventLoopGroup-644-10] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-10
17:12:40.006 [nioEventLoopGroup-644-12] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-12
17:12:40.220 [nioEventLoopGroup-628-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-628-14
17:12:40.358 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.358 [MockServer thread for port: 33360] INFO  org.mockserver.mockserver.MockServer - MockServer started on port: 33360
17:12:40.360 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6c4e492, /127.0.0.1:42690 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 460, cap: 460, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 460
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 460B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 22 0a 20 20 7d |"path" : "/".  }|
|00000040| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|00000050| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|00000060| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|00000070| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|00000080| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000090| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|000000a0| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|000000b0| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|000000c0| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|000000d0| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|000000e0| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|000000f0| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000100| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000110| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000120| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|00000130| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|00000140| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|00000150| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|00000160| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|00000170| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|00000180| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000190| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|000001a0| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|000001b0| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|000001c0| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:40.361 [nioEventLoopGroup-660-1] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:40.361 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6c4e492, /127.0.0.1:42690 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.361 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6c4e492, /127.0.0.1:42690 => /127.0.0.1:33360] FLUSH
17:12:40.362 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.362 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6c4e492, /127.0.0.1:42690 => /127.0.0.1:33360] FLUSH
17:12:40.362 [nioEventLoopGroup-661-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-661-1
17:12:40.362 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6c4e492, /127.0.0.1:42690 :> /127.0.0.1:33360] INACTIVE
17:12:40.362 [nioEventLoopGroup-660-1] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xa6c4e492, /127.0.0.1:42690 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.363 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"queryStringParameters\" : [ {\n      \"name\" : \"alpha\",\n      \"values\" : [ \"bravo\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.366 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bdb9a5c, /127.0.0.1:42692 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 553, cap: 553, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 553
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 553B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 71 75 65 72 79 53 74 72 69 6e |.    "queryStrin|
|00000050| 67 50 61 72 61 6d 65 74 65 72 73 22 20 3a 20 5b |gParameters" : [|
|00000060| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000070| 3a 20 22 61 6c 70 68 61 22 2c 0a 20 20 20 20 20 |: "alpha",.     |
|00000080| 20 22 76 61 6c 75 65 73 22 20 3a 20 5b 20 22 62 | "values" : [ "b|
|00000090| 72 61 76 6f 22 20 5d 0a 20 20 20 20 7d 20 5d 0a |ravo" ].    } ].|
|000000a0| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|000000b0| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|000000c0| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|000000d0| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|000000e0| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|000000f0| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|00000100| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|00000110| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|00000120| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|00000130| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|00000140| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|00000150| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000160| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000170| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000180| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000190| 6d 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 |miss -->Testing |
|000001a0| 42 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 |B</body></html>"|
|000001b0| 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 |.  },.  "times" |
|000001c0| 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 |: {.    "remaini|
|000001d0| 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 |ngTimes" : 0,.  |
|000001e0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001f0| 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d |true.  },.  "tim|
|00000200| 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 |eToLive" : {.   |
|00000210| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000220| 72 75 65 0a 20 20 7d 0a 7d                      |rue.  }.}       |
+--------+-------------------------------------------------+----------------+
17:12:40.367 [nioEventLoopGroup-660-2] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "queryStringParameters" : [ {
	      "name" : "alpha",
	      "values" : [ "bravo" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing B</body></html>"
	  }
	}


17:12:40.367 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bdb9a5c, /127.0.0.1:42692 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.368 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bdb9a5c, /127.0.0.1:42692 => /127.0.0.1:33360] FLUSH
17:12:40.368 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.368 [nioEventLoopGroup-662-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-662-1
17:12:40.368 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bdb9a5c, /127.0.0.1:42692 => /127.0.0.1:33360] FLUSH
17:12:40.368 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bdb9a5c, /127.0.0.1:42692 :> /127.0.0.1:33360] INACTIVE
17:12:40.368 [nioEventLoopGroup-660-2] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x6bdb9a5c, /127.0.0.1:42692 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.369 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\",\n    \"cookies\" : [ {\n      \"name\" : \"biscuit\",\n      \"value\" : \"wafer\"\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.372 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x19078141, /127.0.0.1:42694 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 536, cap: 536, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 536
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 536B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 2c |"path" : "/foo",|
|00000040| 0a 20 20 20 20 22 63 6f 6f 6b 69 65 73 22 20 3a |.    "cookies" :|
|00000050| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000060| 22 20 3a 20 22 62 69 73 63 75 69 74 22 2c 0a 20 |" : "biscuit",. |
|00000070| 20 20 20 20 20 22 76 61 6c 75 65 22 20 3a 20 22 |     "value" : "|
|00000080| 77 61 66 65 72 22 0a 20 20 20 20 7d 20 5d 0a 20 |wafer".    } ]. |
|00000090| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000a0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000b0| 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c |atusCode" : 200,|
|000000c0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000d0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|000000e0| 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 |" : "Content-Typ|
|000000f0| 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 |e",.      "value|
|00000100| 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 |s" : [ "text/pla|
|00000110| 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 |in" ].    } ],. |
|00000120| 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 |   "body" : "<ht|
|00000130| 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 |ml><body><!-- a |
|00000140| 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 |bunch of really |
|00000150| 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 |interesting cont|
|00000160| 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 |ent that you wou|
|00000170| 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d |ld be sorry to m|
|00000180| 69 73 73 20 2d 2d 3e 54 65 73 74 69 6e 67 20 43 |iss -->Testing C|
|00000190| 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d 6c 3e 22 0a |</body></html>".|
|000001a0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|000001b0| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|000001c0| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|000001d0| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|000001e0| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|000001f0| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000200| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000210| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:40.373 [nioEventLoopGroup-660-3] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo",
	    "cookies" : [ {
	      "name" : "biscuit",
	      "value" : "wafer"
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Testing C</body></html>"
	  }
	}


17:12:40.373 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x19078141, /127.0.0.1:42694 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.373 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x19078141, /127.0.0.1:42694 => /127.0.0.1:33360] FLUSH
17:12:40.374 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.374 [nioEventLoopGroup-663-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-663-1
17:12:40.375 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x19078141, /127.0.0.1:42694 => /127.0.0.1:33360] FLUSH
17:12:40.375 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x19078141, /127.0.0.1:42694 :> /127.0.0.1:33360] INACTIVE
17:12:40.375 [nioEventLoopGroup-660-3] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x19078141, /127.0.0.1:42694 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.376 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/foo\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.381 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe80b59e7, /127.0.0.1:42696 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 463, cap: 463, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 463
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 463B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 66 6f 6f 22 0a |"path" : "/foo".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c |es" : [ "text/pl|
|000000c0| 61 69 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ain" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 |    "body" : "<h|
|000000e0| 74 6d 6c 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 |tml><body><!-- a|
|000000f0| 20 62 75 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 | bunch of really|
|00000100| 20 69 6e 74 65 72 65 73 74 69 6e 67 20 63 6f 6e | interesting con|
|00000110| 74 65 6e 74 20 74 68 61 74 20 79 6f 75 20 77 6f |tent that you wo|
|00000120| 75 6c 64 20 62 65 20 73 6f 72 72 79 20 74 6f 20 |uld be sorry to |
|00000130| 6d 69 73 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 |miss -->Nothing |
|00000140| 73 70 65 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f |special</body></|
|00000150| 68 74 6d 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 |html>".  },.  "t|
|00000160| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000170| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|00000180| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|00000190| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000001a0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000001b0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000001c0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:40.382 [nioEventLoopGroup-660-4] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/foo"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:40.382 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe80b59e7, /127.0.0.1:42696 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.382 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe80b59e7, /127.0.0.1:42696 => /127.0.0.1:33360] FLUSH
17:12:40.382 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.383 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe80b59e7, /127.0.0.1:42696 => /127.0.0.1:33360] FLUSH
17:12:40.383 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe80b59e7, /127.0.0.1:42696 :> /127.0.0.1:33360] INACTIVE
17:12:40.383 [nioEventLoopGroup-664-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-664-1
17:12:40.383 [nioEventLoopGroup-660-4] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xe80b59e7, /127.0.0.1:42696 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.384 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/xml\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/xml\" ]\n    } ],\n    \"body\" : \"<?xml version=\\\"1.0\\\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.387 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9affd36f, /127.0.0.1:42698 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 439, cap: 439, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 439
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 439B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 78 6d 6c 22 0a |"path" : "/xml".|
|00000040| 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 |  },.  "httpResp|
|00000050| 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 |onse" : {.    "s|
|00000060| 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 30 |tatusCode" : 200|
|00000070| 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 |,.    "headers" |
|00000080| 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d |: [ {.      "nam|
|00000090| 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 |e" : "Content-Ty|
|000000a0| 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 |pe",.      "valu|
|000000b0| 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 78 6d |es" : [ "text/xm|
|000000c0| 6c 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 |l" ].    } ],.  |
|000000d0| 20 20 22 62 6f 64 79 22 20 3a 20 22 3c 3f 78 6d |  "body" : "<?xm|
|000000e0| 6c 20 76 65 72 73 69 6f 6e 3d 5c 22 31 2e 30 5c |l version=\"1.0\|
|000000f0| 22 3f 3e 3c 72 6f 6f 74 3e 3c 63 68 69 6c 64 3e |"?><root><child>|
|00000100| 3c 65 6c 74 20 6e 61 6d 65 3d 27 66 6f 6f 27 20 |<elt name='foo' |
|00000110| 2f 3e 3c 74 65 78 74 3e 4e 6f 74 68 69 6e 67 20 |/><text>Nothing |
|00000120| 73 70 65 63 69 61 6c 3c 2f 74 65 78 74 3e 3c 2f |special</text></|
|00000130| 63 68 69 6c 64 3e 3c 2f 72 6f 6f 74 3e 22 0a 20 |child></root>". |
|00000140| 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 | },.  "times" : |
|00000150| 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 |{.    "remaining|
|00000160| 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 |Times" : 0,.    |
|00000170| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000180| 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 |ue.  },.  "timeT|
|00000190| 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 |oLive" : {.    "|
|000001a0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001b0| 65 0a 20 20 7d 0a 7d                            |e.  }.}         |
+--------+-------------------------------------------------+----------------+
17:12:40.390 [nioEventLoopGroup-660-5] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/xml"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/xml" ]
	    } ],
	    "body" : "<?xml version=\"1.0\"?><root><child><elt name='foo' /><text>Nothing special</text></child></root>"
	  }
	}


17:12:40.390 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9affd36f, /127.0.0.1:42698 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.390 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9affd36f, /127.0.0.1:42698 => /127.0.0.1:33360] FLUSH
17:12:40.390 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.391 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9affd36f, /127.0.0.1:42698 => /127.0.0.1:33360] FLUSH
17:12:40.391 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9affd36f, /127.0.0.1:42698 :> /127.0.0.1:33360] INACTIVE
17:12:40.391 [nioEventLoopGroup-660-5] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x9affd36f, /127.0.0.1:42698 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.391 [nioEventLoopGroup-665-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-665-1
17:12:40.394 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/json\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/json\" ]\n    } ],\n    \"body\" : \"\\n{\\n    \\\"items\\\":[\\n        {\\n            \\\"name\\\":\\\"alpha\\\",\\n            \\\"score\\\":123,\\n            \\\"text\\\": \\\"Nothing special\\\"\\n        }\\n    ]\\n}\\n\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.397 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf668c026, /127.0.0.1:42700 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 502, cap: 502, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 502
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 502B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 6a 73 6f 6e 22 |"path" : "/json"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 6a |ues" : [ "text/j|
|000000c0| 73 6f 6e 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |son" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 5c 6e |    "body" : "\n|
|000000e0| 7b 5c 6e 20 20 20 20 5c 22 69 74 65 6d 73 5c 22 |{\n    \"items\"|
|000000f0| 3a 5b 5c 6e 20 20 20 20 20 20 20 20 7b 5c 6e 20 |:[\n        {\n |
|00000100| 20 20 20 20 20 20 20 20 20 20 20 5c 22 6e 61 6d |           \"nam|
|00000110| 65 5c 22 3a 5c 22 61 6c 70 68 61 5c 22 2c 5c 6e |e\":\"alpha\",\n|
|00000120| 20 20 20 20 20 20 20 20 20 20 20 20 5c 22 73 63 |            \"sc|
|00000130| 6f 72 65 5c 22 3a 31 32 33 2c 5c 6e 20 20 20 20 |ore\":123,\n    |
|00000140| 20 20 20 20 20 20 20 20 5c 22 74 65 78 74 5c 22 |        \"text\"|
|00000150| 3a 20 5c 22 4e 6f 74 68 69 6e 67 20 73 70 65 63 |: \"Nothing spec|
|00000160| 69 61 6c 5c 22 5c 6e 20 20 20 20 20 20 20 20 7d |ial\"\n        }|
|00000170| 5c 6e 20 20 20 20 5d 5c 6e 7d 5c 6e 22 0a 20 20 |\n    ]\n}\n".  |
|00000180| 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a 20 7b |},.  "times" : {|
|00000190| 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e 67 54 |.    "remainingT|
|000001a0| 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 20 22 |imes" : 0,.    "|
|000001b0| 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 |unlimited" : tru|
|000001c0| 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 54 6f |e.  },.  "timeTo|
|000001d0| 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 22 75 |Live" : {.    "u|
|000001e0| 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 75 65 |nlimited" : true|
|000001f0| 0a 20 20 7d 0a 7d                               |.  }.}          |
+--------+-------------------------------------------------+----------------+
17:12:40.399 [nioEventLoopGroup-660-6] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/json"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/json" ]
	    } ],
	    "body" : "\n{\n    \"items\":[\n        {\n            \"name\":\"alpha\",\n            \"score\":123,\n            \"text\": \"Nothing special\"\n        }\n    ]\n}\n"
	  }
	}


17:12:40.399 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf668c026, /127.0.0.1:42700 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.400 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf668c026, /127.0.0.1:42700 => /127.0.0.1:33360] FLUSH
17:12:40.400 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.401 [nioEventLoopGroup-666-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-666-1
17:12:40.401 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf668c026, /127.0.0.1:42700 => /127.0.0.1:33360] FLUSH
17:12:40.403 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/date\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/date\" ]\n    } ],\n    \"body\" : \"2016.08.25 14:43\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.405 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf668c026, /127.0.0.1:42700 :> /127.0.0.1:33360] INACTIVE
17:12:40.406 [nioEventLoopGroup-660-6] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xf668c026, /127.0.0.1:42700 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.408 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c228895, /127.0.0.1:42702 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 360, cap: 360, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 360
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 360B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 64 61 74 65 22 |"path" : "/date"|
|00000040| 0a 20 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 |.  },.  "httpRes|
|00000050| 70 6f 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 |ponse" : {.    "|
|00000060| 73 74 61 74 75 73 43 6f 64 65 22 20 3a 20 32 30 |statusCode" : 20|
|00000070| 30 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |0,.    "headers"|
|00000080| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000090| 6d 65 22 20 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 |me" : "Content-T|
|000000a0| 79 70 65 22 2c 0a 20 20 20 20 20 20 22 76 61 6c |ype",.      "val|
|000000b0| 75 65 73 22 20 3a 20 5b 20 22 74 65 78 74 2f 64 |ues" : [ "text/d|
|000000c0| 61 74 65 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a |ate" ].    } ],.|
|000000d0| 20 20 20 20 22 62 6f 64 79 22 20 3a 20 22 32 30 |    "body" : "20|
|000000e0| 31 36 2e 30 38 2e 32 35 20 31 34 3a 34 33 22 0a |16.08.25 14:43".|
|000000f0| 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 20 3a |  },.  "times" :|
|00000100| 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e 69 6e | {.    "remainin|
|00000110| 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 20 20 |gTimes" : 0,.   |
|00000120| 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 | "unlimited" : t|
|00000130| 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |rue.  },.  "time|
|00000140| 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 20 20 |ToLive" : {.    |
|00000150| 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 74 72 |"unlimited" : tr|
|00000160| 75 65 0a 20 20 7d 0a 7d                         |ue.  }.}        |
+--------+-------------------------------------------------+----------------+
17:12:40.410 [nioEventLoopGroup-660-7] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/date"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/date" ]
	    } ],
	    "body" : "2016.08.25 14:43"
	  }
	}


17:12:40.413 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c228895, /127.0.0.1:42702 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.414 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c228895, /127.0.0.1:42702 => /127.0.0.1:33360] FLUSH
17:12:40.418 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.418 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c228895, /127.0.0.1:42702 => /127.0.0.1:33360] FLUSH
17:12:40.418 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c228895, /127.0.0.1:42702 :> /127.0.0.1:33360] INACTIVE
17:12:40.418 [nioEventLoopGroup-660-7] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8c228895, /127.0.0.1:42702 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.419 [nioEventLoopGroup-667-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-667-1
17:12:40.419 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status200\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.422 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b512809, /127.0.0.1:42704 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 32 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s200".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 32 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 200.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:40.423 [nioEventLoopGroup-660-8] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status200"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200
	  }
	}


17:12:40.423 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b512809, /127.0.0.1:42704 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.423 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b512809, /127.0.0.1:42704 => /127.0.0.1:33360] FLUSH
17:12:40.423 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.424 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b512809, /127.0.0.1:42704 => /127.0.0.1:33360] FLUSH
17:12:40.424 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b512809, /127.0.0.1:42704 :> /127.0.0.1:33360] INACTIVE
17:12:40.424 [nioEventLoopGroup-660-8] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x8b512809, /127.0.0.1:42704 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.424 [nioEventLoopGroup-668-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-668-1
17:12:40.424 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status300\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 300\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.427 [nioEventLoopGroup-660-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2ec8c0, /127.0.0.1:42706 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 33 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s300".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 33 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 300.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:40.428 [nioEventLoopGroup-660-9] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status300"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 300
	  }
	}


17:12:40.428 [nioEventLoopGroup-660-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2ec8c0, /127.0.0.1:42706 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.428 [nioEventLoopGroup-660-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2ec8c0, /127.0.0.1:42706 => /127.0.0.1:33360] FLUSH
17:12:40.429 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.429 [nioEventLoopGroup-660-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2ec8c0, /127.0.0.1:42706 => /127.0.0.1:33360] FLUSH
17:12:40.429 [nioEventLoopGroup-669-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-669-1
17:12:40.435 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status400\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 400\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.435 [nioEventLoopGroup-660-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2ec8c0, /127.0.0.1:42706 :> /127.0.0.1:33360] INACTIVE
17:12:40.436 [nioEventLoopGroup-660-9] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xda2ec8c0, /127.0.0.1:42706 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.438 [nioEventLoopGroup-660-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60aff364, /127.0.0.1:42708 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 34 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s400".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 34 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 400.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:40.439 [nioEventLoopGroup-660-10] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status400"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 400
	  }
	}


17:12:40.439 [nioEventLoopGroup-660-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60aff364, /127.0.0.1:42708 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.439 [nioEventLoopGroup-660-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60aff364, /127.0.0.1:42708 => /127.0.0.1:33360] FLUSH
17:12:40.440 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.440 [nioEventLoopGroup-660-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60aff364, /127.0.0.1:42708 => /127.0.0.1:33360] FLUSH
17:12:40.440 [nioEventLoopGroup-660-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60aff364, /127.0.0.1:42708 :> /127.0.0.1:33360] INACTIVE
17:12:40.440 [nioEventLoopGroup-660-10] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x60aff364, /127.0.0.1:42708 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.440 [nioEventLoopGroup-670-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-670-1
17:12:40.441 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/status500\"\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 500\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.444 [nioEventLoopGroup-660-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd618481, /127.0.0.1:42710 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 239, cap: 239, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 239
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 239B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 73 74 61 74 75 |"path" : "/statu|
|00000040| 73 35 30 30 22 0a 20 20 7d 2c 0a 20 20 22 68 74 |s500".  },.  "ht|
|00000050| 74 70 52 65 73 70 6f 6e 73 65 22 20 3a 20 7b 0a |tpResponse" : {.|
|00000060| 20 20 20 20 22 73 74 61 74 75 73 43 6f 64 65 22 |    "statusCode"|
|00000070| 20 3a 20 35 30 30 0a 20 20 7d 2c 0a 20 20 22 74 | : 500.  },.  "t|
|00000080| 69 6d 65 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 |imes" : {.    "r|
|00000090| 65 6d 61 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a |emainingTimes" :|
|000000a0| 20 30 2c 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 | 0,.    "unlimit|
|000000b0| 65 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a |ed" : true.  },.|
|000000c0| 20 20 22 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a |  "timeToLive" :|
|000000d0| 20 7b 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 | {.    "unlimite|
|000000e0| 64 22 20 3a 20 74 72 75 65 0a 20 20 7d 0a 7d    |d" : true.  }.} |
+--------+-------------------------------------------------+----------------+
17:12:40.446 [nioEventLoopGroup-660-11] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/status500"
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 500
	  }
	}


17:12:40.446 [nioEventLoopGroup-660-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd618481, /127.0.0.1:42710 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.447 [nioEventLoopGroup-660-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd618481, /127.0.0.1:42710 => /127.0.0.1:33360] FLUSH
17:12:40.447 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.447 [nioEventLoopGroup-660-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd618481, /127.0.0.1:42710 => /127.0.0.1:33360] FLUSH
17:12:40.447 [nioEventLoopGroup-660-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd618481, /127.0.0.1:42710 :> /127.0.0.1:33360] INACTIVE
17:12:40.447 [nioEventLoopGroup-660-11] DEBUG i.n.handler.logging.LoggingHandler - [id: 0xcd618481, /127.0.0.1:42710 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.447 [nioEventLoopGroup-671-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-671-1
17:12:40.448 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"!Authorization\",\n      \"values\" : [ \"!Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 401,\n    \"headers\" : [ {\n      \"name\" : \"WWW-Authenticate\",\n      \"values\" : [ \"Basic realm=\\\"Test Realm\\\"\" ]\n    } ]\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.453 [nioEventLoopGroup-660-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83950c06, /127.0.0.1:42712 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 458, cap: 458, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 458
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 458B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 21 41 75 74 68 6f 72 69 7a |me" : "!Authoriz|
|00000070| 61 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 |ation",.      "v|
|00000080| 61 6c 75 65 73 22 20 3a 20 5b 20 22 21 42 61 73 |alues" : [ "!Bas|
|00000090| 69 63 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 |ic YWRtaW46JDNjc|
|000000a0| 6a 4e 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 |jN0" ].    } ]. |
|000000b0| 20 7d 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f | },.  "httpRespo|
|000000c0| 6e 73 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 |nse" : {.    "st|
|000000d0| 61 74 75 73 43 6f 64 65 22 20 3a 20 34 30 31 2c |atusCode" : 401,|
|000000e0| 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 20 3a |.    "headers" :|
|000000f0| 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 | [ {.      "name|
|00000100| 22 20 3a 20 22 57 57 57 2d 41 75 74 68 65 6e 74 |" : "WWW-Authent|
|00000110| 69 63 61 74 65 22 2c 0a 20 20 20 20 20 20 22 76 |icate",.      "v|
|00000120| 61 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 |alues" : [ "Basi|
|00000130| 63 20 72 65 61 6c 6d 3d 5c 22 54 65 73 74 20 52 |c realm=\"Test R|
|00000140| 65 61 6c 6d 5c 22 22 20 5d 0a 20 20 20 20 7d 20 |ealm\"" ].    } |
|00000150| 5d 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 73 22 |].  },.  "times"|
|00000160| 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 69 6e | : {.    "remain|
|00000170| 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c 0a 20 |ingTimes" : 0,. |
|00000180| 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a |   "unlimited" :|
|00000190| 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 74 69 | true.  },.  "ti|
|000001a0| 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a 20 20 |meToLive" : {.  |
|000001b0| 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 3a 20 |  "unlimited" : |
|000001c0| 74 72 75 65 0a 20 20 7d 0a 7d                   |true.  }.}      |
+--------+-------------------------------------------------+----------------+
17:12:40.454 [nioEventLoopGroup-660-12] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "!Authorization",
	      "values" : [ "!Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 401,
	    "headers" : [ {
	      "name" : "WWW-Authenticate",
	      "values" : [ "Basic realm=\"Test Realm\"" ]
	    } ]
	  }
	}


17:12:40.455 [nioEventLoopGroup-660-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83950c06, /127.0.0.1:42712 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.455 [nioEventLoopGroup-660-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83950c06, /127.0.0.1:42712 => /127.0.0.1:33360] FLUSH
17:12:40.455 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.455 [nioEventLoopGroup-660-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83950c06, /127.0.0.1:42712 => /127.0.0.1:33360] FLUSH
17:12:40.455 [nioEventLoopGroup-660-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83950c06, /127.0.0.1:42712 :> /127.0.0.1:33360] INACTIVE
17:12:40.455 [nioEventLoopGroup-660-12] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x83950c06, /127.0.0.1:42712 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.455 [nioEventLoopGroup-672-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 3 thread-local buffer(s) from thread: nioEventLoopGroup-672-1
17:12:40.459 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/expectation",
  "body" : {
    "charset" : "UTF-8",
    "type" : "STRING",
    "string" : "{\n  \"httpRequest\" : {\n    \"method\" : \"GET\",\n    \"path\" : \"/basic\",\n    \"headers\" : [ {\n      \"name\" : \"Authorization\",\n      \"values\" : [ \"Basic YWRtaW46JDNjcjN0\" ]\n    } ]\n  },\n  \"httpResponse\" : {\n    \"statusCode\" : 200,\n    \"headers\" : [ {\n      \"name\" : \"Content-Type\",\n      \"values\" : [ \"text/plain\" ]\n    } ],\n    \"body\" : \"<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>\"\n  },\n  \"times\" : {\n    \"remainingTimes\" : 0,\n    \"unlimited\" : true\n  },\n  \"timeToLive\" : {\n    \"unlimited\" : true\n  }\n}"
  }
}
17:12:40.462 [nioEventLoopGroup-660-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73bb2e27, /127.0.0.1:42714 => /127.0.0.1:33360] RECEIVED: HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 572, cap: 572, components=1))
PUT /expectation HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 572
Connection: keep-alive
Content-Type: text/plain; charset=utf-8, 572B
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 7b 0a 20 20 22 68 74 74 70 52 65 71 75 65 73 74 |{.  "httpRequest|
|00000010| 22 20 3a 20 7b 0a 20 20 20 20 22 6d 65 74 68 6f |" : {.    "metho|
|00000020| 64 22 20 3a 20 22 47 45 54 22 2c 0a 20 20 20 20 |d" : "GET",.    |
|00000030| 22 70 61 74 68 22 20 3a 20 22 2f 62 61 73 69 63 |"path" : "/basic|
|00000040| 22 2c 0a 20 20 20 20 22 68 65 61 64 65 72 73 22 |",.    "headers"|
|00000050| 20 3a 20 5b 20 7b 0a 20 20 20 20 20 20 22 6e 61 | : [ {.      "na|
|00000060| 6d 65 22 20 3a 20 22 41 75 74 68 6f 72 69 7a 61 |me" : "Authoriza|
|00000070| 74 69 6f 6e 22 2c 0a 20 20 20 20 20 20 22 76 61 |tion",.      "va|
|00000080| 6c 75 65 73 22 20 3a 20 5b 20 22 42 61 73 69 63 |lues" : [ "Basic|
|00000090| 20 59 57 52 74 61 57 34 36 4a 44 4e 6a 63 6a 4e | YWRtaW46JDNjcjN|
|000000a0| 30 22 20 5d 0a 20 20 20 20 7d 20 5d 0a 20 20 7d |0" ].    } ].  }|
|000000b0| 2c 0a 20 20 22 68 74 74 70 52 65 73 70 6f 6e 73 |,.  "httpRespons|
|000000c0| 65 22 20 3a 20 7b 0a 20 20 20 20 22 73 74 61 74 |e" : {.    "stat|
|000000d0| 75 73 43 6f 64 65 22 20 3a 20 32 30 30 2c 0a 20 |usCode" : 200,. |
|000000e0| 20 20 20 22 68 65 61 64 65 72 73 22 20 3a 20 5b |   "headers" : [|
|000000f0| 20 7b 0a 20 20 20 20 20 20 22 6e 61 6d 65 22 20 | {.      "name" |
|00000100| 3a 20 22 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 |: "Content-Type"|
|00000110| 2c 0a 20 20 20 20 20 20 22 76 61 6c 75 65 73 22 |,.      "values"|
|00000120| 20 3a 20 5b 20 22 74 65 78 74 2f 70 6c 61 69 6e | : [ "text/plain|
|00000130| 22 20 5d 0a 20 20 20 20 7d 20 5d 2c 0a 20 20 20 |" ].    } ],.   |
|00000140| 20 22 62 6f 64 79 22 20 3a 20 22 3c 68 74 6d 6c | "body" : "<html|
|00000150| 3e 3c 62 6f 64 79 3e 3c 21 2d 2d 20 61 20 62 75 |><body><!-- a bu|
|00000160| 6e 63 68 20 6f 66 20 72 65 61 6c 6c 79 20 69 6e |nch of really in|
|00000170| 74 65 72 65 73 74 69 6e 67 20 63 6f 6e 74 65 6e |teresting conten|
|00000180| 74 20 74 68 61 74 20 79 6f 75 20 77 6f 75 6c 64 |t that you would|
|00000190| 20 62 65 20 73 6f 72 72 79 20 74 6f 20 6d 69 73 | be sorry to mis|
|000001a0| 73 20 2d 2d 3e 4e 6f 74 68 69 6e 67 20 73 70 65 |s -->Nothing spe|
|000001b0| 63 69 61 6c 3c 2f 62 6f 64 79 3e 3c 2f 68 74 6d |cial</body></htm|
|000001c0| 6c 3e 22 0a 20 20 7d 2c 0a 20 20 22 74 69 6d 65 |l>".  },.  "time|
|000001d0| 73 22 20 3a 20 7b 0a 20 20 20 20 22 72 65 6d 61 |s" : {.    "rema|
|000001e0| 69 6e 69 6e 67 54 69 6d 65 73 22 20 3a 20 30 2c |iningTimes" : 0,|
|000001f0| 0a 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 |.    "unlimited"|
|00000200| 20 3a 20 74 72 75 65 0a 20 20 7d 2c 0a 20 20 22 | : true.  },.  "|
|00000210| 74 69 6d 65 54 6f 4c 69 76 65 22 20 3a 20 7b 0a |timeToLive" : {.|
|00000220| 20 20 20 20 22 75 6e 6c 69 6d 69 74 65 64 22 20 |    "unlimited" |
|00000230| 3a 20 74 72 75 65 0a 20 20 7d 0a 7d             |: true.  }.}    |
+--------+-------------------------------------------------+----------------+
17:12:40.463 [nioEventLoopGroup-660-13] INFO  o.m.mockserver.MockServerHandler - creating expectation:

	{
	  "httpRequest" : {
	    "method" : "GET",
	    "path" : "/basic",
	    "headers" : [ {
	      "name" : "Authorization",
	      "values" : [ "Basic YWRtaW46JDNjcjN0" ]
	    } ]
	  },
	  "times" : {
	    "remainingTimes" : 0,
	    "unlimited" : true
	  },
	  "timeToLive" : {
	    "unlimited" : true
	  },
	  "httpResponse" : {
	    "statusCode" : 200,
	    "headers" : [ {
	      "name" : "Content-Type",
	      "values" : [ "text/plain" ]
	    } ],
	    "body" : "<html><body><!-- a bunch of really interesting content that you would be sorry to miss -->Nothing special</body></html>"
	  }
	}


17:12:40.463 [nioEventLoopGroup-660-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73bb2e27, /127.0.0.1:42714 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.463 [nioEventLoopGroup-660-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73bb2e27, /127.0.0.1:42714 => /127.0.0.1:33360] FLUSH
17:12:40.464 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 201,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.464 [nioEventLoopGroup-660-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73bb2e27, /127.0.0.1:42714 => /127.0.0.1:33360] FLUSH
17:12:40.464 [nioEventLoopGroup-660-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73bb2e27, /127.0.0.1:42714 :> /127.0.0.1:33360] INACTIVE
17:12:40.464 [nioEventLoopGroup-660-13] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x73bb2e27, /127.0.0.1:42714 :> /127.0.0.1:33360] UNREGISTERED
17:12:40.464 [nioEventLoopGroup-673-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-673-1
17:12:40.506 [nioEventLoopGroup-644-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x342cc02e, /127.0.0.1:44140 :> /127.0.0.1:39111] FLUSH
17:12:40.507 [nioEventLoopGroup-644-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x342cc02e, /127.0.0.1:44140 :> /127.0.0.1:39111] INACTIVE
17:12:40.507 [nioEventLoopGroup-644-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x342cc02e, /127.0.0.1:44140 :> /127.0.0.1:39111] UNREGISTERED
17:12:40.507 [nioEventLoopGroup-644-14] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-644-14
17:12:40.746 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Sending request: {
  "method" : "PUT",
  "path" : "/stop"
}
17:12:40.750 [nioEventLoopGroup-660-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1089e20b, /127.0.0.1:42720 => /127.0.0.1:33360] RECEIVED, HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(ridx: 0, widx: 0, cap: 0, components=0))
PUT /stop HTTP/1.1
Host: localhost:33360
Accept-Encoding: gzip,deflate
Content-Length: 0
Connection: keep-alive, 0B
17:12:40.750 [nioEventLoopGroup-660-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1089e20b, /127.0.0.1:42720 => /127.0.0.1:33360] WRITE, DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: EmptyByteBufBE)
HTTP/1.1 202 Accepted
Content-Length: 0
Connection: keep-alive
Content-Type: text/plain, 0B
17:12:40.750 [nioEventLoopGroup-660-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1089e20b, /127.0.0.1:42720 => /127.0.0.1:33360] FLUSH
17:12:40.751 [Test worker] DEBUG o.m.client.netty.NettyHttpClient - Received response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "text/plain" ]
  } ]
}
17:12:40.751 [nioEventLoopGroup-674-1] DEBUG io.netty.buffer.PoolThreadCache - Freed 2 thread-local buffer(s) from thread: nioEventLoopGroup-674-1
17:12:40.751 [nioEventLoopGroup-660-14] DEBUG i.n.handler.logging.LoggingHandler - [id: 0x1089e20b, /127.0.0.1:42720 => /127.0.0.1:33360] CLOSE()